Thread (29 messages) flat view 29 messages, 5 authors, 2023-08-18

Re: [RFC net-next 05/13] net: page_pool: record pools per netdev

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-08-17 16:22:30

On Thu, 17 Aug 2023 09:26:09 +0200 Simon Horman wrote:
I'm not sure if it is possible, but if the hlist loop above iterates zero
times then last will be uninitialised here.

Flagged by Smatch.
Hm, the caller checks if the list is empty but there may be a race
condition since we don't hold the lock, yet. Thanks for flagging!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help