Re: [PATCH net-next v18 00/15] net: introduce QUIC infrastructure and core subcomponents

From
Jakub Kicinski <kuba@kernel.org>
Date
2026-11-10 17:20:33
Also in
linux-cifs
Reply to
Xin Long, 2026-11-10
On Tue, 10 Nov 2026 11:57:48 -0500 Xin Long wrote:
On Tue, Nov 10, 2026 at 10:42 AM Jakub Kicinski [off-list ref] wrote:
quoted
On Mon,  9 Nov 2026 11:27:21 -0500 Xin Long wrote:  
quoted
The QUIC protocol, defined in RFC 9000, is a secure, multiplexed transport
built on top of UDP. It enables low-latency connection establishment,
stream-based communication with flow control, and supports connection
migration across network paths, while ensuring confidentiality, integrity,
and availability.  
coccicheck says:

v:250:19-25: ERROR: invalid reference to the index variable of the iterator on line 241
net/quic/connid.c:252:16-22: ERROR: invalid reference to the index variable of the iterator on line 241
--
pw-bot: cr  
This is a code pattern concern, not a real bug though, as the use_count <= 1
check guarantees the loop always hits break.
AFAIU you must save the iterator to a different variable explicitly,
you can't just use the iterator variable after the loop.
Thread (29 messages) 29 messages, 3 authors, last reply 19h ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help