Re: [PATCH net-next v7 3/5] tls: Factor tls_strp_msg_release() from tls_strp_msg_done()

Sabrina Dubroca
2026-03-30T12:21:19Z

2026-03-28, 11:17:10 -0400, Chuck Lever wrote:
> From: Chuck Lever <chuck.lever@oracle.com>
>
> tls_strp_msg_done() conflates releasing the current record with
> checking for the next one via tls_strp_check_rcv(). Batch
> processing requires releasing a record without immediately
> triggering that check, so the release step is separated into
> tls_strp_msg_release(). tls_strp_msg_done() is preserved as a
> wrapper for existing callers.
>
> Reviewed-by: Hannes Reinecke <hare@suse.de>
> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
> ---
> net/tls/tls.h | 1 +
> net/tls/tls_strp.c | 15 ++++++++++++++-
> 2 files changed, 15 insertions(+), 1 deletion(-)

Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>

--
Sabrina