Thread (5 messages) 5 messages, 2 authors, 2021-08-02

Re: [PATCH NET 1/7] skbuff: introduce pskb_realloc_headroom()

From: Vasily Averin <hidden>
Date: 2021-07-12 18:45:38
Also in: bpf, linux-hams, lkml

On 7/12/21 8:53 PM, Jakub Kicinski wrote:
I saw you asked about naming in a different sub-thread, what do you
mean by "'pskb_expand_head' have different semantic"? AFAIU the 'p'
in pskb stands for "private", meaning not shared. In fact
skb_realloc_headroom() should really be pskb... but it predates the 
'pskb' naming pattern by quite a while. Long story short
skb_expand_head() seems like a good name. With the current patch
pskb_realloc_headroom() vs skb_realloc_headroom() would give people
exactly the opposite intuition of what the code does.
Thank you for feedback,
I'll change helper name back to skb_expand_head() in next patch version.

	Vasily Averin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help