WSL2-Linux-Kernel/drivers/net
Nathan Fontenot 6d65923765 ibmvnic: Correct return code checking for ibmvnic_init during probe
The update to ibmvnic_init to allow an EAGAIN return code broke
the calling of ibmvnic_init from ibmvnic_probe. The code now
will return from this point in the probe routine if anything
other than EAGAIN is returned. The check should be to see if rc
is non-zero and not equal to EAGAIN.

Without this fix, the vNIC driver can return 0 (success) from
its probe routine due to ibmvnic_init returning zero, but before
completing the probe process and registering with the netdev layer.

Fixes: 6a2fb0e99f (ibmvnic: driver initialization for kdump/kexec)
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-22 11:32:26 -04:00
..
appletalk
arcnet networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
bonding net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
caif net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
can networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
cris
dsa net: dsa: mv88e6xxx: better IEEE Prio Mapping Table description 2017-06-20 13:27:01 -04:00
ethernet ibmvnic: Correct return code checking for ibmvnic_init during probe 2017-06-22 11:32:26 -04:00
fddi
fjes networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
hamradio networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
hippi networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
hyperv networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
ieee802154 networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-15 11:59:32 -04:00
irda networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
phy net: phy: smsc: fix buffer overflow in memcpy 2017-06-22 11:12:31 -04:00
plip
ppp net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
slip networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
team Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-15 11:59:32 -04:00
usb r8152: correct the definition 2017-06-21 11:32:57 -04:00
vmxnet3
wan networking: make skb_pull & friends return void pointers 2017-06-16 11:48:39 -04:00
wimax networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
dummy.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
eql.c
geneve.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
gtp.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
ifb.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
loopback.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
macsec.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
macvlan.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-15 11:59:32 -04:00
macvtap.c
mdio.c
mii.c
netconsole.c netconsole: Remove duplicate "netconsole: " logging prefix 2017-06-13 12:57:40 -04:00
nlmon.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
ntb_netdev.c
rionet.c
sb1000.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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-15 11:59:32 -04:00
veth.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
virtio_net.c bpf: virtio_net: Report bpf_prog ID during XDP_QUERY_PROG 2017-06-16 11:58:36 -04:00
vrf.c net: remove DST_NOCACHE flag 2017-06-17 22:54:01 -04:00
vsockmon.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
vxlan.c vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses 2017-06-20 13:37:03 -04:00
xen-netfront.c