alistair23-linux/drivers/net
Jakub Kicinski c383bdd14f nfp: fix potential use after free on xdp prog
We should unregister the net_device first, before we give back
our reference on xdp_prog.  Otherwise xdp_prog may be freed
before .ndo_stop() disabled the datapath.  Found by code inspection.

Fixes: ecd63a0217 ("nfp: add XDP support in the driver")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-05 18:46:40 -07:00
..
appletalk
arcnet
bonding
caif
can
cris
dsa
ethernet nfp: fix potential use after free on xdp prog 2017-04-05 18:46:40 -07:00
fddi
fjes fjes: Do not load fjes driver if extended socket device is not power on. 2017-03-22 12:38:17 -07:00
hamradio
hippi
hyperv netvsc: fix race during initialization 2017-03-16 21:35:33 -07:00
ieee802154
ipvlan
irda irda: vlsi_ir: fix check for DMA mapping errors 2017-03-25 20:14:40 -07:00
phy net: phy: handle state correctly in phy_stop_machine 2017-03-24 12:27:06 -07:00
plip
ppp
slip
team team: use ETH_MAX_MTU as max mtu 2017-03-08 22:19:17 -08:00
usb r8152: The Microsoft Surface docks also use R8152 v2 2017-04-01 12:19:31 -07:00
vmxnet3
wan ucc/hdlc: fix two little issue 2017-03-13 21:53:48 -07:00
wimax net: wimax/i2400m: fix NULL-deref at probe 2017-03-13 12:28:40 -07:00
wireless brcmfmac: use local iftype avoiding use-after-free of virtual interface 2017-03-30 19:43:51 +03:00
xen-netback xen-netback: fix race condition on XenBus disconnect 2017-03-12 23:44:43 -07:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c tun: fix inability to set offloads after disabling them via ethtool 2017-03-21 15:30:59 -07:00
veth.c
virtio_net.c
vrf.c net: vrf: Reset rt6i_idev in local dst after put 2017-03-21 17:50:20 -07:00
vxlan.c vxlan: fix ovs support 2017-03-13 16:03:42 -07:00
xen-netfront.c