On Thu, Aug 22, 2024 at 09:36:36PM -0400, Jon Maloy wrote: > When we added the SO_PEEK_OFF socket option to TCP we forgot > to add it even for TCP on IPv6. > > We do that here. > > Fixes: 05ea491641d3 ("tcp: add support for SO_PEEK_OFF socket option") > Signed-off-by: Jon Maloy Reviewed-by: David Gibson > --- > net/ipv6/af_inet6.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c > index 90d2c7e3f5e9..ba69b86f1c7d 100644 > --- a/net/ipv6/af_inet6.c > +++ b/net/ipv6/af_inet6.c > @@ -708,6 +708,7 @@ const struct proto_ops inet6_stream_ops = { > .splice_eof = inet_splice_eof, > .sendmsg_locked = tcp_sendmsg_locked, > .splice_read = tcp_splice_read, > + .set_peek_off = sk_set_peek_off, > .read_sock = tcp_read_sock, > .read_skb = tcp_read_skb, > .peek_len = tcp_peek_len, -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson