summaryrefslogtreecommitdiff
path: root/net/decnet/dn_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/decnet/dn_timer.c')
0 files changed, 0 insertions, 0 deletions
f'>include parent303223092081963513494b4377fa1ac9e362ed4b (diff)
netfilter: merge ctinfo into nfct pointer storage area
After this change conntrack operations (lookup, creation, matching from ruleset) only access one instead of two sk_buff cache lines. This works for normal conntracks because those are allocated from a slab that guarantees hw cacheline or 8byte alignment (whatever is larger) so the 3 bits needed for ctinfo won't overlap with nf_conn addresses. Template allocation now does manual address alignment (see previous change) on arches that don't have sufficent kmalloc min alignment. Some spots intentionally use skb->_nfct instead of skb_nfct() helpers, this is to avoid undoing the skb_nfct() use when we remove untracked conntrack object in the future. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/skbuff.h21
-rw-r--r--include/net/netfilter/nf_conntrack.h11
2 files changed, 15 insertions, 17 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h