Thread (3 messages) flat view 3 messages, 2 authors, 2020-08-18

Re: [PATCH] net: handle the return value of pskb_carve_frag_list() correctly

From: David Miller <davem@davemloft.net>
Date: 2020-08-18 22:57:19
Also in: lkml

From: Miaohe Lin <linmiaohe@huawei.com>
Date: Sat, 15 Aug 2020 04:46:41 -0400
pskb_carve_frag_list() may return -ENOMEM in pskb_carve_inside_nonlinear().
we should handle this correctly or we would get wrong sk_buff.

Fixes: 6fa01ccd8830 ("skbuff: Add pskb_extract() helper function")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help