Commit 443485d5 authored by lily's avatar lily Committed by Jialin Zhang
Browse files

net/core/skbuff: Check the return value of skb_copy_bits()

stable inclusion
from stable-v5.10.143
commit 9d040a629e7e7965c70e3ff16e1a8180470b8746
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0U6

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9d040a629e7e7965c70e3ff16e1a8180470b8746



--------------------------------

[ Upstream commit c624c58e ]

skb_copy_bits() could fail, which requires a check on the return
value.

Signed-off-by: default avatarLi Zhong <floridsleeves@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 66b46aae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment