diff options
author | Shlomo Pongratz <shlomop@mellanox.com> | 2012-04-04 00:56:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-05 00:11:12 +0200 |
commit | 234bcf8a499ee206145c7007d12d9706a254f790 (patch) | |
tree | 2f42f68294a5b1c8093a631d81ed580fee0d0595 /drivers/net/ethernet/marvell/sky2.c | |
parent | net/bonding: emit address change event also in bond_release (diff) | |
download | linux-234bcf8a499ee206145c7007d12d9706a254f790.tar.xz linux-234bcf8a499ee206145c7007d12d9706a254f790.zip |
net/bonding: correctly proxy slave neigh param setup ndo function
The current implemenation was buggy for slaves who use ndo_neigh_setup,
since the networking stack invokes the bonding device ndo entry (from
neigh_params_alloc) before any devices are enslaved, and the bonding
driver can't further delegate the call at that point in time. As a
result when bonding IPoIB devices, the neigh_cleanup hasn't been called.
Fix that by deferring the actual call into the slave ndo_neigh_setup
from the time the bonding neigh_setup is called.
Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/sky2.c')
0 files changed, 0 insertions, 0 deletions