linux/drivers/net
Jeff Mahoney a09c0fc3f5 ixgbe: pci_set_drvdata must be called before register_netdev
We call pci_set_drvdata immediately after calling register_netdev,
which leaves a window where tasks writing to the sriov_numvfs sysfs
attribute can sneak in and crash the kernel.  register_netdev cleans
up after itself so placing pci_set_drvdata immediately before it
should preserve the intent of commit 0fb6a55cc3 ("ixgbe: fix crash
on rmmod after probe fail").

Fixes: 0fb6a55cc3 ("ixgbe: fix crash on rmmod after probe fail")
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-06-13 17:36:39 -07:00
..
appletalk
arcnet
bonding bonding: warn user when 802.3ad speed is unknown 2017-06-10 16:06:49 -04:00
caif
can
cris net/{mii, smsc}: Make mii_ethtool_get_link_ksettings and smc_netdev_get_ecmd return void 2017-06-05 11:00:42 -04:00
dsa net: dsa: Remove master_netdev and use dst->cpu_dp->netdev 2017-06-13 16:35:02 -04:00
ethernet ixgbe: pci_set_drvdata must be called before register_netdev 2017-06-13 17:36:39 -07:00
fddi
fjes fjes: remove duplicate set of flag IFF_BROADCAST 2017-06-13 13:54:51 -04:00
hamradio hdlcdrv: Fix divide by zero in hdlcdrv_ioctl 2017-05-27 18:44:17 -04:00
hippi
hyperv netvsc: fold in get_outbound_net_device 2017-06-09 12:15:05 -04:00
ieee802154
ipvlan Ipvlan should return an error when an address is already in use. 2017-06-09 12:26:07 -04:00
irda
phy net: phy: Make phy_ethtool_ksettings_get return void 2017-06-13 12:59:06 -04:00
plip
ppp ppp: mppe: Use vsnprintf extension %phN 2017-06-06 15:16:33 -04:00
slip
team net: Remove support for bridge bypass ndos from stacked devices 2017-06-08 14:16:28 -04:00
usb net: phy: Make phy_ethtool_ksettings_get return void 2017-06-13 12:59:06 -04:00
vmxnet3
wan
wimax
wireless networking: use skb_put_zero() 2017-06-13 13:54:03 -04:00
xen-netback
dummy.c
eql.c
geneve.c geneve: add missing rx stats accounting 2017-06-09 12:49:57 -04:00
gtp.c net: fix potential null pointer dereference 2017-05-25 12:54:02 -04:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: check return value of skb_to_sgvec always 2017-06-04 23:01:47 -04:00
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c net/{mii, smsc}: Make mii_ethtool_get_link_ksettings and smc_netdev_get_ecmd return void 2017-06-05 11:00:42 -04:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c drivers/net/sungem: add const to mii_phy_ops structures 2017-06-08 15:32:47 -04:00
tap.c
tun.c tun: use symmetric hash 2017-06-06 16:23:31 -04:00
veth.c
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-06 22:20:08 -04:00
vrf.c
vsockmon.c
vxlan.c vxlan: dont migrate permanent fdb entries during learn 2017-06-12 11:01:00 -04:00
xen-netfront.c