[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e5c78a48-47b9-85f9-bc60-eda0b7164ceb@virtuozzo.com>
Date: Sat, 10 Jul 2021 05:53:43 +0300
From: Vasily Averin <vvs@...tuozzo.com>
To: David Miller <davem@...emloft.net>
Cc: yoshfuji@...ux-ipv6.org, dsahern@...nel.org, kuba@...nel.org,
eric.dumazet@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH IPV6 v2 1/4] ipv6: allocate enough headroom in
ip6_finish_output2()
Dear David,
I'm happy to hear you again.
On 7/9/21 8:58 PM, David Miller wrote:
> Please do not use inline in foo.c files, let the compiler decde.
Thank you for the hint, I did not know it, and will follow him next time.
This time I'm going to move this helper somewhere anyway:
either to net/core/skbuff.c as exported function where it will lost inline anyway,
or to include/linux/skbuff.h where inline is (it seems?) acceptable.
Could you please help me to find better name for this helper?
I would like to change its current name: 'skb_expand_head' looks very similar
to widely used 'pskb_expand_head' but have different semantic.
I afraid they can be accidentally misused in future.
Thank you,
Vasily Averin.
Powered by blists - more mailing lists