From: David S. Miller Date: Tue, 5 Oct 2010 07:29:48 +0000 (-0700) Subject: net: relax rtnl_dereference() X-Git-Tag: v2.6.37-rc1~147^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29fa060eab3f524d338566d34c1d9e704579ae5e;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed