Skip to content
Commit 06a9701f authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

__in_dev_get_rtnl() can use rtnl_dereference()



If caller holds RTNL, we dont need a memory barrier
(smp_read_barrier_depends) included in rcu_dereference().

Just use rtnl_dereference() to properly document the assertions.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent da2033c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment