net: skbuff: drop the word head from skb cache
authorJakub Kicinski <kuba@kernel.org>
Thu, 9 Feb 2023 06:06:42 +0000 (22:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2023 09:10:28 +0000 (09:10 +0000)
commit025a785ff083729819dc82ac81baf190cb4aee5c
tree066d8824033e761f2dc333eeed163e7c5492ae84
parent01a7ee36e7649b3b12212e6648eb017e7f7e1269
net: skbuff: drop the word head from skb cache

skbuff_head_cache is misnamed (perhaps for historical reasons?)
because it does not hold heads. Head is the buffer which skb->data
points to, and also where shinfo lives. struct sk_buff is a metadata
structure, not the head.

Eric recently added skb_small_head_cache (which allocates actual
head buffers), let that serve as an excuse to finally clean this up :)

Leave the user-space visible name intact, it could possibly be uAPI.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
kernel/bpf/cpumap.c
net/bpf/test_run.c
net/core/skbuff.c
net/core/xdp.c