summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorMoni Shoua2007-10-10 04:43:37 +0200
committerJeff Garzik2007-10-15 20:20:45 +0200
commit200d1713b47200aa478f27e454e3d957264d49be (patch)
treecc7a1849ebfac45538075af5819aadfeeba4b331 /drivers/net/bonding/bond_main.c
parentIB/ipoib: Bound the net device to the ipoib_neigh structue (diff)
downloadkernel-qcow2-linux-200d1713b47200aa478f27e454e3d957264d49be.tar.gz
kernel-qcow2-linux-200d1713b47200aa478f27e454e3d957264d49be.tar.xz
kernel-qcow2-linux-200d1713b47200aa478f27e454e3d957264d49be.zip
IB/ipoib: Verify address handle validity on send
When the bonding device senses a carrier loss of its active slave it replaces that slave with a new one. In between the times when the carrier of an IPoIB device goes down and ipoib_neigh is destroyed, it is possible that the bonding driver will send a packet on a new slave that uses an old ipoib_neigh. This patch detects and prevents this from happenning. Signed-off-by: Moni Shoua <monis at voltaire.com> Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com> Acked-by: Roland Dreier <rdreier@cisco.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions