]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Convert hh_lock to seqlock.
authorStephen Hemminger <shemminger@osdl.org>
Thu, 7 Dec 2006 23:08:17 +0000 (15:08 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 9 Dec 2006 01:19:20 +0000 (17:19 -0800)
commitbf93600127a13f0cf76d70f1b725fb61774c5647
tree7aeb1dd32c68e372cc2aaa9d26703dd238b48a53
parent52ed3e0568c8e5099afce25e8ffe344b39abb639
[NET]: Convert hh_lock to seqlock.

The hard header cache is in the main output path, so using
seqlock instead of reader/writer lock should reduce overhead.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/neighbour.h
net/core/neighbour.c
net/ipv4/ip_output.c
net/ipv6/ip6_output.c