Message ID | 1343661630-1350-1-git-send-email-shlomop@mellanox.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index 61318a7..f1ff2f4 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -882,7 +882,7 @@ static void __ipoib_reap_neigh(struct ipoib_dev_priv *priv) struct ipoib_neigh __rcu **np = &htbl->buckets[i]; while ((neigh = rcu_dereference_protected(*np, - is_held(&ntbl->rwlock))) != NULL) { + lockdep_is_held(&ntbl->rwlock))) != NULL) { /* was the neigh idle for two GC periods */ if (time_after(neigh_obsolete, neigh->alive)) { rcu_assign_pointer(*np,
was is_held should be lockdep_is_held Reporetd by: Roland Dreier <roland@kernel.org> Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com> --- drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)