Revert "net: bonding: fix error return code of bond_neigh_init()"
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Mar 2021 20:15:03 +0000 (12:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Mar 2021 12:32:08 +0000 (14:32 +0200)
commit36478a9ec5afd4efd031527d0371bf8f61e5aa91
treea47644fd0f16c84ff9cccf15acdb3c4e51c74644
parent451ba16cc5b79518b4804eaeed7c8260733f95cb
Revert "net: bonding: fix error return code of bond_neigh_init()"

commit 080bfa1e6d928a5d1f185cc44e5f3c251df06df5 upstream.

This reverts commit 2055a99da8a253a357bdfd359b3338ef3375a26c.

This change rejects legitimate configurations.

A slave doesn't need to exist nor implement ndo_slave_setup.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/bonding/bond_main.c