diff options
| author | Eric Dumazet <[email protected]> | 2018-03-31 19:58:59 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-04-01 03:25:40 +0000 |
| commit | 219badfaade986a2c3d99abd4eb6d83f4f9ed2fb (patch) | |
| tree | 7c97218e195db6776f790766a325c25de14eb73c /net/tls/tls_main.c | |
| parent | inet: frags: get rid of ipfrag_skb_cb/FRAG_CB (diff) | |
| download | kernel-219badfaade986a2c3d99abd4eb6d83f4f9ed2fb.tar.gz kernel-219badfaade986a2c3d99abd4eb6d83f4f9ed2fb.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions
