In esp_remove_trailer(), to avoid an unexpected result returned by pskb_trim, we should check the return value of pskb_trim(). Additional info: 社区有patch已经解决 net: ipv6: fix return value check in esp_remove_trailer commit 8023c7e90007861a353b9e1a3abd9e158369c104 Reference:https:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=8023c7e90007861a353b9e1a3abd9e158369c104 git cherry-pick -s 8023c7e90(with stable-v5.10.199 repo added)
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2465
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3688