diff options
author | Eric Dumazet <edumazet@google.com> | 2018-03-31 12:59:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-31 23:25:40 -0400 |
commit | f2d1c724fca176ddbd32a9397df49221afbcb227 (patch) | |
tree | fd2adc5d5bf77f50ac9f50e126e5b39695bd4427 /include/trace | |
parent | 219badfaade986a2c3d99abd4eb6d83f4f9ed2fb (diff) | |
download | linux-f2d1c724fca176ddbd32a9397df49221afbcb227.tar.bz2 |
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 'include/trace')
0 files changed, 0 insertions, 0 deletions