Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files196
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- 9p/
- bluetooth/
- caif/
- iucv/
- netfilter/
- netns/
- nfc/
- phonet/
- sctp/
- tc_act/
- 6lowpan.h
- Space.h
- act_api.h
- addrconf.h
- af_ieee802154.h
- af_rxrpc.h
- af_unix.h
- af_vsock.h
- ah.h
- arp.h
- atmclip.h
- ax25.h
- ax88796.h
- bond_3ad.h
- bond_alb.h
- bond_options.h
- bonding.h
- busy_poll.h
- calipso.h
- cfg80211-wext.h
- cfg80211.h
- cfg802154.h
- checksum.h
- cipso_ipv4.h
- cls_cgroup.h
- codel.h
- codel_impl.h
- codel_qdisc.h
- compat.h
- datalink.h
- dcbevent.h
- dcbnl.h
- devlink.h
- dn.h
- dn_dev.h
- dn_fib.h
- dn_neigh.h
- dn_nsp.h
- dn_route.h
- dsa.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/net/mpls.h
Text · 932 bytes/*
* Copyright (c) 2014 Nicira, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*/
#ifndef _NET_MPLS_H
#define _NET_MPLS_H 1
#include <linux/if_ether.h>
#include <linux/netdevice.h>
#define MPLS_HLEN 4
struct mpls_shim_hdr {
__be32 label_stack_entry;
};
static inline bool eth_p_mpls(__be16 eth_type)
{
return eth_type == htons(ETH_P_MPLS_UC) ||
eth_type == htons(ETH_P_MPLS_MC);
}
static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb)
{
return (struct mpls_shim_hdr *)skb_network_header(skb);
}
#endif