aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/icplus.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-10-05 00:29:48 -0700
committerDavid S. Miller <davem@davemloft.net>2010-10-05 00:29:48 -0700
commit29fa060eab3f524d338566d34c1d9e704579ae5e (patch)
tree5ec18e56dc3321dda6e1fa76b08b32043f8c88e9 /drivers/net/phy/icplus.c
parentipvs: Use frag walker helper in SCTP proto support. (diff)
downloadlinux-dev-29fa060eab3f524d338566d34c1d9e704579ae5e.tar.xz
linux-dev-29fa060eab3f524d338566d34c1d9e704579ae5e.zip
net: relax rtnl_dereference()
rtnl_dereference() is used in contexts where RTNL is held, to fetch an RCU protected pointer. Updates to this pointer are prevented by RTNL, so we dont need smp_read_barrier_depends() and the ACCESS_ONCE() provided in rcu_dereference_check(). rtnl_dereference() is mainly a macro to document the locking invariant. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/icplus.c')
0 files changed, 0 insertions, 0 deletions