From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202408 header.b=oGoTlnHv; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 48A165A004E for ; Fri, 23 Aug 2024 10:05:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202408; t=1724400307; bh=0Btx+R7M8ZB+LGF4epbaGaGSRO2p+RmxvF9dUqQIVP8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oGoTlnHvGHfV7cMrLeZXLr70BMjd6Xl5SqUhbK8Kj8+9fcpp6sX9LB43WoVYEal5t hVx0vMYQQyNsCuA0EqZxfRjMgQ1qobgEOpfjrXidnEIv9QxW6hwXU4TFNlF2rdXsD1 46solMJhD4QthEx3b6VEKs0xdErP3RdDDclYdATUNSn04WbeNHtZnIJXQX4+cFpi+S e9X+G2E3skMPLWN6lfZEguQRv2sWK8FAa8a0ZwLhBYKBwHjF42bfDRj5c+64ss/qWU LcQhs7lwhvUaO/wnO9IKRfjHaFztitGp+kKAnbhr5HqFpo+dz+30bciErETB6gmf1I Dp77Stp9XVGHg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Wqt0M2gDgz4x8j; Fri, 23 Aug 2024 18:05:07 +1000 (AEST) Date: Fri, 23 Aug 2024 17:30:25 +1000 From: David Gibson To: Jon Maloy Subject: Re: [PATCH v2 1/2] tcp: add SO_PEEK_OFF socket option tor TCPv6 Message-ID: References: <20240823013637.72719-1-jmaloy@redhat.com> <20240823013637.72719-2-jmaloy@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oUy3g0bLsPhmURvG" Content-Disposition: inline In-Reply-To: <20240823013637.72719-2-jmaloy@redhat.com> Message-ID-Hash: VBDC4UZLX2Q6HTERHEH4GOT7RSFX7KSZ X-Message-ID-Hash: VBDC4UZLX2Q6HTERHEH4GOT7RSFX7KSZ X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top, sbrivio@redhat.com, lvivier@redhat.com, dgibson@redhat.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --oUy3g0bLsPhmURvG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > We do that here. >=20 > 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(+) >=20 > 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 =3D { > .splice_eof =3D inet_splice_eof, > .sendmsg_locked =3D tcp_sendmsg_locked, > .splice_read =3D tcp_splice_read, > + .set_peek_off =3D sk_set_peek_off, > .read_sock =3D tcp_read_sock, > .read_skb =3D tcp_read_skb, > .peek_len =3D tcp_peek_len, --=20 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 --oUy3g0bLsPhmURvG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmbIOoIACgkQzQJF27ox 2Gf/qA//QQTZ5t32Us7j0t6IQrqpQcEXk5AhX/xZOmAn5wvARj6mbCDJnwAW+HLC bujWp3+MQ62eI5/amLDKFH975U8McGTlTIUNcYuF5DfKlff2lokY1bim9FBdN7us Tps2GdphR9XsIf0ZgjfcgEOn3QppSnOjm4l8SoRXd7qfIKMspni6DAR1pb2/bgAE kKS7/HGcr6ic3wUtGeBQkIpO/RdEMgNjZ3BNi9/s9Og2sqmHw70PcYVIg58FYuBw 0GQ076RZT/7be3YMjpTZrOn4XZUpeH13V3LR+LE5SwvbPCRhKEILaVWVHTdHeDbX 6BgQotRbG3ZtHW4ZWCMCv+0XWuVfy9WWVBS3mWsToO3Oj+I0cJ1qcEOhRnplNOFg R/9hnwdmjrrLfR1x+2S3FCZwjDSfNx8dqGWyRWOnwc2vXmhzpmq7VbDqU08rKOjd fDloX+emqjc8hHlc0RsLbo0VDYOVLKFdzEzNUymFxG3kHjr5Y5T29CgBuR4917JT m8tcdR77g2AvFllaZC8gH842nv+DrdGmvA2cDmaoff479PocoA3K61JxIaRqMLXr 34VuJfrpiXdtoDWXnp3ZTg6UycOy46ciix0IorfZVP9Ommlz9MXlbU0h2Vv6Y/7z otweB2VISXH5Qyc6Id91QIO1rz1QvkLdy90Nw25J8D5EYCMA5/Q= =rHRC -----END PGP SIGNATURE----- --oUy3g0bLsPhmURvG--