[PATCH net 0/1] ipv6: fix MSG_SPLICE_PAGES with a dst trailer in __ip6_append_data()

Kyuwon Cho posted 1 patch 2 days ago
net/ipv6/ip6_output.c | 2 --
1 file changed, 2 deletions(-)
[PATCH net 0/1] ipv6: fix MSG_SPLICE_PAGES with a dst trailer in __ip6_append_data()
Posted by Kyuwon Cho 2 days ago
sendfile() of a UDPv6 datagram that needs fragmentation over an xfrm
tunnel hits a WARN_ON_ONCE() in __ip6_append_data() and fails with EIO.
The patch removes the MSG_SPLICE_PAGES branch that causes it, as
proposed in the report; Ido asked for it to be sent as a patch.

Report: https://lore.kernel.org/netdev/179497871649.630760.14878797494884573363@gmail.com/

The issue was found by an LLM-guided test generator that we are
developing as a research prototype; the report has the reproducer. The
patch was written with LLM assistance; we reviewed and tested it. With
it, the reproducer runs clean and all its sendfile() calls succeed,
where they all fail with EIO before.

Kyuwon Cho (1):
  ipv6: fix MSG_SPLICE_PAGES with a dst trailer in __ip6_append_data()

 net/ipv6/ip6_output.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.43.0