]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit7d0742da1c8f5df3a34030f0170b30d1a052be80
treef5717a37a9b4fe27abfa7886996d7051c57b91b9
parentc52fbb410b2662a7bbc5cbe5969d73c733151498
[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