]> err.no Git - linux-2.6/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)
commit8a7f752125a930a83f4d8dfe37fa5a081ab19d31
tree9c4b4e334e96e14cb47189ebf1319a58d3cd6753
parent624d01f899f6bbd75fd06890f231e1f46555d376
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