infiniband: remove dev_base_lock use
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 24 Nov 2010 19:41:56 +0000 (11:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2010 19:41:56 +0000 (11:41 -0800)
commit22f4fbd9bd283ef85126e511171932a4af703776
treefe0387429b1dceed477a05e9ecc4b27885bad929
parentbba14de98753cb6599a2dae0e520714b2153522d
infiniband: remove dev_base_lock use

dev_base_lock is the legacy way to lock the device list, and is planned
to disappear. (writers hold RTNL, readers hold RCU lock)

Convert rdma_translate_ip() and update_ipv6_gids() to RCU locking.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/core/addr.c
drivers/infiniband/hw/mlx4/main.c