commit | a6e0fc8514d41dfdd98b1d15cacc432cf040f8af | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Sep 08 14:15:32 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 08 14:15:32 2010 -0700 |
tree | 48a6b7cbae9fa0637b7f134b2d204740af783237 | |
parent | a7a4f1c1a52912eb8b3bd4d8f628d83a8b5d69dd [diff] |
net: introduce rcu_dereference_rtnl We use rcu_dereference_check(p, rcu_read_lock_held() || lockdep_rtnl_is_held()) several times in network stack. More usages to come too, so its time to create a helper. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>