net: rcu fixes
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 3 May 2010 10:50:14 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 May 2010 22:53:54 +0000 (15:53 -0700)
commit4f70ecca9c57731b4acbe5043eb22e4416bd2368
tree3b725168959ffd2b65152e27dbe3479f6e110dd3
parent52a60ed2da716105de5f906a3630c475264b87d5
net: rcu fixes

Add hlist_for_each_entry_rcu_bh() and
hlist_for_each_entry_continue_rcu_bh() macros, and use them in
ipv6_get_ifaddr(), if6_get_first() and if6_get_next() to fix lockdeps
warnings.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Reviewed-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rculist.h
net/ipv6/addrconf.c