diff options
author | Jakub Kicinski <[email protected]> | 2023-04-17 08:53:48 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-04-19 13:04:30 +0100 |
commit | 4398f3f6d1380d9f71a484e1e5d869ba0eaf23d5 (patch) | |
tree | 1ee7bb9359b22fc71536f71800724cfdf330b053 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c24831a13ba2e472f874483525084da2f2feb890 (diff) |
net: skbuff: move alloc_cpu into a potential hole
alloc_cpu is currently between 4 byte fields, so it's almost
guaranteed to create a 2B hole. It has a knock on effect of
creating a 4B hole after @end (and @end and @tail being in
different cachelines).
None of this matters hugely, but for kernel configs which
don't enable all the features there may well be a 2B hole
after the bitfield. Move alloc_cpu there.
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions