aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-03-31 12:59:00 -0700
committerDavid S. Miller <davem@davemloft.net>2018-03-31 23:25:40 -0400
commitf2d1c724fca176ddbd32a9397df49221afbcb227 (patch)
treefd2adc5d5bf77f50ac9f50e126e5b39695bd4427 /net/ipv4
parentipv6: frags: get rid of ip6frag_skb_cb/FRAG6_CB (diff)
downloadlinux-dev-f2d1c724fca176ddbd32a9397df49221afbcb227.tar.xz
linux-dev-f2d1c724fca176ddbd32a9397df49221afbcb227.zip
inet: frags: get rid of nf_ct_frag6_skb_cb/NFCT_FRAG6_CB
nf_ct_frag6_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/ipv4')
0 files changed, 0 insertions, 0 deletions