diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2006-07-19 17:44:37 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-07-24 09:18:07 -0700 |
commit | 8a7f752125a930a83f4d8dfe37fa5a081ab19d31 (patch) | |
tree | 9c4b4e334e96e14cb47189ebf1319a58d3cd6753 /drivers/infiniband/ulp/ipoib/ipoib.h | |
parent | 624d01f899f6bbd75fd06890f231e1f46555d376 (diff) |
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>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 3f89f5e1903..474aa214ab5 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -212,6 +212,7 @@ struct ipoib_path { struct ipoib_neigh { struct ipoib_ah *ah; + union ib_gid dgid; struct sk_buff_head queue; struct neighbour *neighbour; |