Re: [PATCH net v5 1/2] tls: only install push_pending_record for a TX context
From: patchwork-bot+netdevbpf
Date: Tue Nov 10 2026 - 14:50:36 EST
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 2 Nov 2026 14:30:06 -0700 you wrote:
> tls_set_sw_offload() assigns ctx->push_pending_record for both
> directions, but the hook is a TX-side dispatcher. On a socket whose TX
> side is HW offloaded, tls_set_device_offload() installs
> tls_device_push_pending_record(); any later TLS_RX setsockopt
> overwrites it with tls_sw_push_pending_record(), because
> tls_set_device_offload_rx() itself calls tls_set_sw_offload(sk, 0, NULL)
> for the software half of a successful HW RX offload, and so does the
> fallback when the RX offload is declined (NIC with TX-only offload,
> tls_dev_add() failure).
>
> [...]
Here is the summary with links:
- [net,v5,1/2] tls: only install push_pending_record for a TX context
https://git.kernel.org/netdev/net/c/c47e766c5307
- [net,v5,2/2] selftests: net: add TLS 1.2 hardware offload tests
https://git.kernel.org/netdev/net/c/ec7b283e11e4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html