Re: [PATCH ipsec v2] xfrm: use the frame's own socket in the too big checks
From: Rustam Mustafin
Date: Fri Nov 27 2026 - 09:44:26 EST
On Tue, Nov 24, 2026 at 5:45 PM <netdev-bot+sashiko@xxxxxxxxxx> wrote:
> Does iptfs_is_too_big() in net/xfrm/xfrm_iptfs.c still have the same
> mismatch?
IP-TFS has its own output path, which this patch does not reach. It is
fixed in a separate patch:
https://lore.kernel.org/all/20261127142550.66326-1-rmustafin@xxxxxxxxxxxxxx/
> This isn't a bug introduced by this patch, but this branch leads into
> xfrm6_local_error(), which looks like it can leak kernel heap memory:
It is pre-existing and this patch does not change that path, so I have
left it for a separate fix.
Br,
Rustam