All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sabrina Dubroca <sd@queasysnail.net>
To: Rishikesh Jethwani <rjethwani@purestorage.com>
Cc: netdev@vger.kernel.org, stable@vger.kernel.org,
	John Fastabend <john.fastabend@gmail.com>,
	Jakub Kicinski <kuba@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
	Alice Mikityanska <alice.kernel@fastmail.im>,
	Tariq Toukan <tariqt@nvidia.com>,
	Boris Pismenny <borisp@mellanox.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v5 2/2] tls: restrict device-down TX fallback to hardware TX sockets
Date: Mon, 23 Nov 2026 20:13:26 +0100	[thread overview]
Message-ID: <awSQVksKrzWT5lm8@krikkit> (raw)
In-Reply-To: <20261116183519.3314837-2-rjethwani@purestorage.com>

2026-11-16, 11:35:18 -0700, Rishikesh Jethwani wrote:
> tls_device_down() installs the hardware TX fallback on RX-only and
> software-TX sockets. The fallback expects a hardware context in

Here as well, "the fallback" is some function that has a name.

[...]
> Track RX state with TLS_RX_DEV_CLOSED:

Well, is that new? It's just being extended a little bit to also cover
"not configured yet".

> set it at context creation and after deletion, and clear it after a
> successful driver add under device_offload_lock. This avoids deleting
> absent RX state and reading configuration bitfields while their shared
> byte is updated.

Now that feels like this patch is fixing 2 separate issues (one TX,
one RX) at once.

-- 
Sabrina

  reply	other threads:[~2026-11-23 19:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 18:35 [PATCH net v5 1/2] tls: fix socket use-after-free during device-down Rishikesh Jethwani
2026-11-16 18:35 ` [PATCH net v5 2/2] tls: restrict device-down TX fallback to hardware TX sockets Rishikesh Jethwani
2026-11-23 19:13   ` Sabrina Dubroca [this message]
2026-11-21 23:23 ` [PATCH net v5 1/2] tls: fix socket use-after-free during device-down Jakub Kicinski
2026-11-23 18:38   ` Rishikesh Jethwani
2026-11-23 19:12 ` Sabrina Dubroca
2026-11-23 22:38   ` Rishikesh Jethwani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=awSQVksKrzWT5lm8@krikkit \
    --to=sd@queasysnail.net \
    --cc=alice.kernel@fastmail.im \
    --cc=borisp@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=john.fastabend@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rjethwani@purestorage.com \
    --cc=stable@vger.kernel.org \
    --cc=tariqt@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.