Re: [PATCH] bnx2: Pass allocation size to build_skb()

From: Jakub Kicinski
Date: Wed Oct 19 2022 - 20:03:03 EST


On Tue, 18 Oct 2022 01:59:29 -0700 Kees Cook wrote:
> In preparation for requiring that build_skb() have a non-zero size
> argument, pass the actual data allocation size explicitly into
> build_skb().

build_skb(, 0) has the special meaning of "head buf has been kmalloc'd",
rather than alloc_page(). Was this changed and I missed it?