Commit b70b1677 authored by Grant Grundler's avatar Grant Grundler Committed by Zheng Zengkai
Browse files

net: atlantic: add check for MAX_SKB_FRAGS

stable inclusion
from stable-v5.10.118
commit cd66ab20a8f84474564a68fffffd37d998f6c340
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5L686

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



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

[ Upstream commit 6aecbba1 ]

Enforce that the CPU can not get stuck in an infinite loop.

Reported-by: default avatarAashay Shringarpure <aashay@google.com>
Reported-by: default avatarYi Chou <yich@google.com>
Reported-by: default avatarShervin Oloumi <enlightened@google.com>
Signed-off-by: default avatarGrant Grundler <grundler@chromium.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 727fb249
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment