net: add rtnl_dereference()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 15 Sep 2010 11:07:15 +0000 (11:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Sep 2010 02:29:45 +0000 (19:29 -0700)
commit7dff59efbb0e8b0f81c95fd40379c0d0c757c808
tree17651e0f5ef9b4a4b00352b52351a3fc23ac4671
parente0de7c93b950b9e784894efc4b529c6958cb747a
net: add rtnl_dereference()

We sometime want to dereference an rcu protected pointer while
holding RTNL. Use a macro to hide all lockdep details.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rtnetlink.h