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

From: Jakub Kicinski <[email-masked]>
Date: Thu, 17 Aug 2023 09:22:29 -0700

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!