[PATCH ipsec 0/2] xfrm: iptfs: charge shared fragments to the inner packet's truesize
From: Andrii Tereshchenko
Date: Sat Nov 28 2026 - 21:00:57 EST
1/2 makes the inner packets that share the outer packet's page fragments
pay for them in truesize. Without it, any sender whose large packets
cross the tunnel can trip a WARN in skb_try_coalesce() on the receiver,
and receive queues hold more than they are charged for. 2/2 adds a
selftest.
Andrii Tereshchenko (2):
xfrm: iptfs: charge shared fragments to the inner packet's truesize
selftests: net: test the truesize of IP-TFS inner packets
MAINTAINERS | 1 +
net/xfrm/xfrm_iptfs.c | 8 +
tools/testing/selftests/net/.gitignore | 1 +
tools/testing/selftests/net/Makefile | 2 +
tools/testing/selftests/net/config | 2 +
.../selftests/net/xfrm_iptfs_truesize.c | 297 ++++++++++++++++++
.../selftests/net/xfrm_iptfs_truesize.sh | 135 ++++++++
7 files changed, 446 insertions(+)
create mode 100644 tools/testing/selftests/net/xfrm_iptfs_truesize.c
create mode 100755 tools/testing/selftests/net/xfrm_iptfs_truesize.sh
base-commit: 1213df0bc5993e479706c5eba5830243d778f164
--
2.53.0