]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51ed5d63bd6c8bff3a021c68583343bdfe5d3660
treefc52d035b431969c034a1033e1c70803dd9ef219
parentb9ea19fd56329d004bf6ca266162436e753a336b
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