Subject: Re: [PATCH][next] tls: rx: Fix less than zero check on unsigned variable sz

From: Jakub Kicinski <[email-masked]>
Date: Mon, 1 Aug 2022 12:24:59 -0700

On Sat, 30 Jul 2022 12:40:27 +0100 Colin Ian King wrote:
> Variable sz is declared as an unsigned size_t and is being checked
> for an less than zero error return on a call to tls_rx_msg_size.
> Fix this by making sz an int.
> 
> Fixes: 84c61fe1a75b ("tls: rx: do not use the standard strparser")
> Signed-off-by: Colin Ian King <[email-masked]>
> ---
>  net/tls/tls_strp.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Already fixed 2 days before you posted, I guess linux-next lagged.

commit 8fd1e151779285b211e7184e9237bba69bd74386
Author:     Yang Li <[email-masked]>
AuthorDate: Wed Jul 27 20:10:19 2022
Commit:     Jakub Kicinski <[email-masked]>
CommitDate: Thu Jul 28 21:50:39 2022

    tls: rx: Fix unsigned comparison with less than zero