diff options
author | Ma Ke <make_ruc2021@163.com> | 2023-10-07 08:59:53 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-25 12:16:13 +0200 |
commit | c5b46524c3678c25b1c75399338bb518a97a622d (patch) | |
tree | 987c76e15dbe0915faefd74b9b627cc1b230bd3b /include/net/tcp.h | |
parent | 10b6501383791fe2dddab7d3cbf9f12b95209418 (diff) |
net: ipv6: fix return value check in esp_remove_trailer
commit dad4e491e30b20f4dc615c9da65d2142d703b5c2 upstream.
In esp_remove_trailer(), to avoid an unexpected result returned by
pskb_trim, we should check the return value of pskb_trim().
Signed-off-by: Ma Ke <make_ruc2021@163.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions