Re: [PATCH net v5 2/2] tls: restrict device-down TX fallback to hardware TX sockets

From: Sabrina Dubroca

Date: Mon Nov 23 2026 - 14:13:37 EST


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