Files
linux/drivers/net
Jia-Ju Bai 2055a99da8 net: bonding: fix error return code of bond_neigh_init()
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>
2021-03-08 12:05:36 -08:00
..
2021-02-02 15:51:17 -08:00
2021-02-17 13:17:49 -08:00
2021-02-10 15:11:51 -08:00
2021-03-08 11:54:32 -08:00
2021-02-02 15:51:18 -08:00
2021-02-10 15:11:51 -08:00