Re: [PATCH] net: ipv4: fix return value check in esp_remove_trailer

From: Steffen Klassert
Date: Fri Oct 13 2023 - 01:56:35 EST


On Mon, Oct 09, 2023 at 09:13:37AM +0800, Ma Ke wrote:
> 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@xxxxxxx>

Also applied, thanks!