Skip to content

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

Kyuwon Cho lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1ipv6: fix MSG_SPLICE_PAGES with a dst trailer in __ip6_append_data()net/ipv6/ip6_output.c+0 -21 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.43.0