summaryrefslogtreecommitdiff
path: root/arch/csky/abiv1
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-15 04:46:41 -0400
committerDavid S. Miller <davem@davemloft.net>2020-08-18 15:56:56 -0700
commiteabe861881a733fc84f286f4d5a1ffaddd4f526f (patch)
treec09bf44be9e0fb36d9550296db07c4f380f30320 /arch/csky/abiv1
parent989e4da042ca4a56bbaca9223d1a93639ad11e17 (diff)
downloadlinux-riscv-eabe861881a733fc84f286f4d5a1ffaddd4f526f.tar.gz
linux-riscv-eabe861881a733fc84f286f4d5a1ffaddd4f526f.tar.bz2
linux-riscv-eabe861881a733fc84f286f4d5a1ffaddd4f526f.zip
net: handle the return value of pskb_carve_frag_list() correctly
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/csky/abiv1')
0 files changed, 0 insertions, 0 deletions