]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nf_conntrack_expect: use RCU for expectation hash
authorPatrick McHardy <kaber@trash.net>
Thu, 31 Jan 2008 12:38:19 +0000 (04:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:27:53 +0000 (19:27 -0800)
commit9b5d5c5f85eca7b6359d371ad5f27ff50995ab04
treef5717a37a9b4fe27abfa7886996d7051c57b91b9
parent62d0d43669a41dc5beb4cfa55358306d64c9400f
[NETFILTER]: nf_conntrack_expect: use RCU for expectation hash

Use RCU for expectation hash. This doesn't buy much for conntrack
runtime performance, but allows to reduce the use of nf_conntrack_lock
for /proc and nf_netlink_conntrack.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack_expect.h
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
net/netfilter/nf_conntrack_expect.c
net/netfilter/nf_conntrack_netlink.c