Thread (14 messages) 14 messages, 4 authors, 2026-05-03

Re: [PATCH net 4/7] net: tls: fix off-by-one in sg_chain entry count for wrapped sk_msg ring

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-05-03 01:26:39
Also in: bpf, linux-kselftest

On Fri, 1 May 2026 18:40:27 +0200 Sabrina Dubroca wrote:
quoted
-			 MAX_SKB_FRAGS - msg_pl->sg.start + 1,
+			 NR_MSG_FRAG_IDS - msg_pl->sg.start + 1,
 			 msg_pl->sg.data);  
And get rid of the [start] / NR - start dance to make this code a bit
clearer?
Heh, yes. In hindsight that is quite a silly construct..

Let me apply the first 2 since the first fix is trivial and hopefully
find some time to check what Sashiko was saying some time this well.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help