Thread (9 messages) flat view 9 messages, 6 authors, 14h ago

Re: [PATCH net-next 1/2] net: Make skb_ext_put_sp() idempotent

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-09-02 00:15:23

On Mon, 31 Aug 2026 08:27:38 +0200 Jakub Sitnicki wrote:
+	if (!sp->len)
+		return;
Somewhat mixed feelings about explicitly checking what is the loop
bound, anyway. But I guess you can argue we shouldn't write len?
Probably not worth a respin either way
 	for (i = 0; i < sp->len; i++)
 		xfrm_state_put(sp->xvec[i]);
+	sp->len = 0;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help