From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id D00AE5A027A for ; Thu, 15 Feb 2024 04:21:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1707967298; bh=rnHzf92yD4uRsRd2oNfSkrp/j4ljgooR97ufYJoihTc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=km7+/mdtUturf0JEDib2mhpriuePD2lnkLnhhVHnw8iC6ZcwiY6YjcWcsoDL3LEFk byiXMy0cPgiD7H3hi4RPWWnDEwq516k8HlIxw/tmNM9F5E6fSldegVIcQ7fCYxbTud +9tDMEBtbd4HYl2qQDcaM9H9FtlaDVlKD7ORk9FfWVpTvNsOW3nIWMokTYDnDTRf5b tu5hQHrcyZUxZduLQqn3ffIFnCMIlk5EO1xJFGwMa+j2m3ex65D1pnlJa7crf7UzUI rAVr0Yrl3Ib4pggbnMaJlxzNlJUZuBzpzi3dYVA6AeuocutwQjCwlwuWo+qp7uhhGT +246rVggEAalw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Tb0hy47pQz4x0m; Thu, 15 Feb 2024 14:21:38 +1100 (AEDT) Date: Thu, 15 Feb 2024 14:16:25 +1100 From: David Gibson To: Eric Dumazet Subject: Re: [PATCH v3] tcp: add support for SO_PEEK_OFF Message-ID: References: <20240209221233.3150253-1-jmaloy@redhat.com> <8d77d8a4e6a37e80aa46cd8df98de84714c384a5.camel@redhat.com> <20072ba530b34729589a3d527c420a766b49e205.camel@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rHD/BlOAYP5VsFOW" Content-Disposition: inline In-Reply-To: Message-ID-Hash: VPD7U6OIG6HZL4N4ZKUKEFMWQVQRYXCA X-Message-ID-Hash: VPD7U6OIG6HZL4N4ZKUKEFMWQVQRYXCA 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: Paolo Abeni , kuba@kernel.org, passt-dev@passt.top, sbrivio@redhat.com, lvivier@redhat.com, dgibson@redhat.com, jmaloy@redhat.com, netdev@vger.kernel.org, davem@davemloft.net, Willem de Bruijn 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: --rHD/BlOAYP5VsFOW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 14, 2024 at 04:41:14AM +0100, Eric Dumazet wrote: > On Wed, Feb 14, 2024 at 12:34=E2=80=AFAM David Gibson > wrote: > > > > > > > BTW I see the man pages say SO_PEEK_OFF is "is currently supported > > > only for unix(7) sockets" > > > > Yes, this patch is explicitly aiming to change that. >=20 > I was pointing out that UDP is supposed to support it already, since 2016, > the manpage should mention UDP already. Oh, sorry, I misunderstood. I tend to forget about this applied to datagram sockets, since we have no use for that. --=20 David Gibson | 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 --rHD/BlOAYP5VsFOW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmXNgggACgkQzQJF27ox 2Ge33A//XmkPlSIoJt/V0GJTQJvVTFLl57CdQQNpl5jBAvASFAZNCUWPelEMRDwy jQxd+BqGZ87sG6oiPjJftHrnOOGxFBrE4uqKLdA9Hscgbb2AbF2+lH86vxOduRjZ sBkVzWy4NxfGicEk1vWqwknrrUPkzl3UyKkQa8hHtoHNn0otwRCY2x6QsbJJmhS5 xv4QTZNH+deZjAse45iXCZRyggfvk/OdWVZFIPVAfi3RB+zhSfSbYv8D/2w0XZXP khFvNJhm/eNjrMgt+HsGqaXGrd3UfjqIOF4GtQWSkoeaDwh4u5Yst3a6w0Vl/83c oB04VPxReO9XNPpp80q1VEPq/FJzNEg55Q4SrsP4hcAiTvGk6WhC1dJG40raBNrC PlFSvgqgrwrTjfrvpbpeYOFJZc11+mHKvmqFonjymje3sXiSDgGZNKabRom55nvy DdSkBY3QvsqxSLFXrABegovoz0uwdkN0Hu+I9mJbQNvaX4TZd5HlwvhtHNB/ruhN SGTTbJzwS/H67q/9Owx0yrLElMvXsT/pmLIvUGa8ywH3zslyML/+sLcr9PFIxKam atrIvE8y3FMql72Fg7TeHnNR0TJFSqroXSZN25XrxVDAQvGEvHvVPNb+DPYDfm/G eia/ZqUN7Sv7lM5bt+Xxhp93XZDofew8F95dht63dZnEDOaa1C4= =mJEX -----END PGP SIGNATURE----- --rHD/BlOAYP5VsFOW--