[RESEND PATCH net-next v1 02/13] skbuff: simplify sock_zerocopy_put

2021-01-06 Thread Jonathan Lemon
All 'struct ubuf_info' users should have a callback defined as of commit 0a4a060bb204 ("sock: fix zerocopy_success regression with msg_zerocopy"). Remove the dead code path to consume_skb(), which makes assumptions about how the structure was allocated. Signed-off-by: Jonathan Lemon Acked-by: Wi

[PATCH net-next v1 02/13] skbuff: simplify sock_zerocopy_put

2021-01-05 Thread Jonathan Lemon
From: Jonathan Lemon All 'struct ubuf_info' users should have a callback defined as of commit 0a4a060bb204 ("sock: fix zerocopy_success regression with msg_zerocopy"). Remove the dead code path to consume_skb(), which makes assumptions about how the structure was allocated. Signed-off-by: Jonat