From: Eric Dumazet Date: Wed, 22 May 2013 11:10:57 +0000 (+0000) Subject: netfilter: xt_CT: optimize XT_CT_NOTRACK X-Git-Tag: v3.11-rc1~16^2~172^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e7190efd5b2f728686a8293af6d9bd34c4e562;p=pandora-kernel.git netfilter: xt_CT: optimize XT_CT_NOTRACK The percpu untracked ct are not currently used for XT_CT_NOTRACK. xt_ct_tg_check()/xt_ct_target() provides a single ct. Thats not optimal as the ct->ct_general.use cache line will bounce among cpus. Use the intended [1] thing : xt_ct_target() should select the percpu object. [1] Refs : commit 5bfddbd46a95c97 ("netfilter: nf_conntrack: IPS_UNTRACKED bit") commit b3c5163fe0193a7 ("netfilter: nf_conntrack: per_cpu untracking") Signed-off-by: Eric Dumazet Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed