]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Fix packet loss after hardware address update
authorMichael S. Tsirkin <mst@mellanox.co.il>
Wed, 19 Jul 2006 14:44:37 +0000 (17:44 +0300)
committerRoland Dreier <rolandd@cisco.com>
Mon, 24 Jul 2006 16:18:07 +0000 (09:18 -0700)
commit24289d8d9d29afd2403057e8e237c474f45ed81a
tree9c4b4e334e96e14cb47189ebf1319a58d3cd6753
parenta15aa614b2a8f0e635c855201a129c35904187f9
IB/ipoib: Fix packet loss after hardware address update

The neighbour ha field may get updated without destroying the
neighbour.  In this case, the ha field gets out of sync with the
address handle stored in ipoib_neigh->ah, with the result that
the ah field would point to an incorrect path, resulting in all
packets being lost.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_main.c