summaryrefslogtreecommitdiff
path: root/net/ipv6/netfilter/nf_conntrack_reasm.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-03-31 22:58:59 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-01 06:25:40 +0300
commit219badfaade986a2c3d99abd4eb6d83f4f9ed2fb (patch)
tree7c97218e195db6776f790766a325c25de14eb73c /net/ipv6/netfilter/nf_conntrack_reasm.c
parentbf66337140c64c27fa37222b7abca7e49d63fb57 (diff)
downloadlinux-219badfaade986a2c3d99abd4eb6d83f4f9ed2fb.tar.xz
ipv6: frags: get rid of ip6frag_skb_cb/FRAG6_CB
ip6_frag_queue uses skb->cb[] to store the fragment offset, meaning that we could use two cache lines per skb when finding the insertion point, if for some reason inet6_skb_parm size is increased in the future. By using skb->ip_defrag_offset instead of skb->cb[], we pack all the fields in a single cache line, matching what we did for IPv4. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/nf_conntrack_reasm.c')
0 files changed, 0 insertions, 0 deletions