Files
twx-linux/net
Miaohe Lin c823c7f330 net: handle the return value of pskb_carve_frag_list() correctly
commit eabe861881 upstream.

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: 6fa01ccd88 ("skbuff: Add pskb_extract() helper function")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-23 10:46:33 +02:00
..
2020-08-21 09:47:59 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-22 09:22:19 +02:00
…
…
…
…
…
…