IB: Fix RCU lockdep splats
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 29 Nov 2011 21:31:23 +0000 (22:31 +0100)
committerRoland Dreier <roland@purestorage.com>
Tue, 29 Nov 2011 21:37:11 +0000 (13:37 -0800)
commit580da35a31f91a594f3090b7a2c39b85cb051a12
tree8cb8f106fe3c5df725dbde3efd2bfd19e0f38a2e
parent1ea6b8f48918282bdca0b32a34095504ee65bab5
IB: Fix RCU lockdep splats

Commit f2c31e32b37 ("net: fix NULL dereferences in check_peer_redir()")
forgot to take care of infiniband uses of dst neighbours.

Many thanks to Marc Aurele who provided a nice bug report and feedback.

Reported-by: Marc Aurele La France <tsi@ualberta.ca>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David Miller <davem@davemloft.net>
Cc: <stable@kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/addr.c
drivers/infiniband/hw/cxgb3/iwch_cm.c
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/nes/nes_cm.c
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/ipoib/ipoib_multicast.c