linux-uconsole/drivers/net
Jia-Ju Bai 9392b8219b net: bonding: fix error return code of bond_neigh_init()
[ Upstream commit 2055a99da8 ]

When slave is NULL or slave_ops->ndo_neigh_setup is NULL, no error
return code of bond_neigh_init() is assigned.
To fix this bug, ret is assigned with -EINVAL in these cases.

Fixes: 9e99bfefdb ("bonding: fix bond_neigh_init()")
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-25 09:04:13 +01:00
..
appletalk
arcnet
bonding net: bonding: fix error return code of bond_neigh_init() 2021-03-25 09:04:13 +01:00
caif
can can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode 2021-03-17 17:06:11 +01:00
dsa net: dsa: b53: Support setting learning on port 2021-03-20 10:43:44 +01:00
ethernet ibmvnic: remove excessive irqsave 2021-03-25 09:04:13 +01:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Reset the RSC count if NVSP_STAT_FAIL in netvsc_receive() 2021-02-17 11:02:26 +01:00
ieee802154
ipa net: ipa: set error code in gsi_channel_setup() 2021-02-17 11:02:26 +01:00
ipvlan
mdio
netdevsim netdevsim: init u64 stats for 32bit hardware 2021-03-17 17:06:15 +01:00
pcs net: pcs-xpcs: depend on MDIO_BUS instead of selecting it 2020-10-16 16:54:11 -07:00
phy net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081 2021-03-25 09:04:12 +01:00
plip
ppp tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer 2021-03-04 11:37:36 +01:00
slip
team team: protect features update by RCU to avoid deadlock 2021-02-03 23:28:51 +01:00
usb net: usb: qmi_wwan: allow qmimux add/del with master up 2021-03-17 17:06:15 +01:00
vmxnet3
wan net: lapbether: Remove netif_start_queue / netif_stop_queue 2021-03-17 17:06:15 +01:00
wimax
wireguard wireguard: queueing: get rid of per-peer ring buffers 2021-03-04 11:38:47 +01:00
wireless iwlwifi: Add a new card for MA family 2021-03-25 09:04:13 +01:00
xen-netback xen-netback: respect gnttab_map_refs()'s return value 2021-03-07 12:34:15 +01:00
bareudp.c net: bareudp: add missing error handling for bareudp_link_config() 2021-01-17 14:16:55 +01:00
dummy.c
eql.c
geneve.c Revert "geneve: pull IP header before ECN decapsulation" 2020-12-09 14:40:07 -08:00
gtp.c net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending 2021-03-04 11:38:46 +01:00
ifb.c
Kconfig crypto: mips/poly1305 - enable for all MIPS processors 2021-03-17 17:06:10 +01:00
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: fix dev_ifsioc_locked() race condition 2021-03-07 12:34:07 +01:00
thunderbolt.c
tun.c net: fix dev_ifsioc_locked() race condition 2021-03-07 12:34:07 +01:00
veth.c
virtio_net.c virtio_net: Fix recursive call to cpus_read_lock() 2021-01-12 20:18:10 +01:00
vrf.c vrf: packets with lladdr src needs dst at input with orig_iif when needs strict 2020-12-05 13:46:07 -08:00
vsockmon.c
vxlan.c vxlan: move debug check after netdev unregister 2021-03-04 11:38:18 +01:00
xen-netfront.c