[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF=yD-JSeLBABCj2i6QnMTN72HCeUcZwH564aKrc=xX=7C0y8w@mail.gmail.com>
Date: Tue, 22 Dec 2020 09:43:30 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Jonathan Lemon <jonathan.lemon@...il.com>
Cc: Network Development <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH 03/12 v2 RFC] skbuff: simplify sock_zerocopy_put
On Mon, Dec 21, 2020 at 7:09 PM Jonathan Lemon <jonathan.lemon@...il.com> wrote:
>
> From: Jonathan Lemon <bsd@...com>
>
> All 'struct ubuf_info' users should have a callback defined.
> Remove the dead code path to consume_skb(), which makes
> unwarranted assumptions about how the structure was allocated.
>
> Signed-off-by: Jonathan Lemon <jonathan.lemon@...il.com>
Please link to the commit I shared that made the consume_skb path
obsolete. Before that this would have been unsafe.
should have a callback defined -> have a callback defined as of commit
0a4a060bb204 ("sock: fix
zerocopy_success regression with msg_zerocopy").
With that explanation why this is correct
Acked-by: Willem de Bruijn <willemb@...gle.com>
Powered by blists - more mailing lists