netfilter: nf_conntrack: per_cpu untracking
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 9 Jun 2010 12:43:38 +0000 (14:43 +0200)
committerPatrick McHardy <kaber@trash.net>
Wed, 9 Jun 2010 12:43:38 +0000 (14:43 +0200)
commitb3c5163fe0193a74016dba1bb22491e0d1e9aaa4
treefc52d035b431969c034a1033e1c70803dd9ef219
parent5bfddbd46a95c978f4d3c992339cbdf4f4b790a3
netfilter: nf_conntrack: per_cpu untracking

NOTRACK makes all cpus share a cache line on nf_conntrack_untracked
twice per packet, slowing down performance.

This patch converts it to a per_cpu variable.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_core.c