Re: [RFC PATCH v2 16/48] ip, udp: Support MSG_SPLICE_PAGES

From: David Howells
Date: Thu Mar 30 2023 - 10:40:47 EST


Willem de Bruijn <willemdebruijn.kernel@xxxxxxxxx> wrote:

> > diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
>
> A non-RFC version would require the same for ipv6, of course.

I missed the fact that ipv6 had it's own version of __ip_append_data() despite
sharing tcp_sendmsg(). Could __ip_append_data() and __ip6_append_data() be
shared? I guess that the v6_cork, the flowi6 and the ipcm6_cookie might
prevent that.

David