[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220310150500.38ae567c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 10 Mar 2022 15:05:00 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Niels Dossche <dossche.niels@...il.com>
Cc: netdev@...r.kernel.org, Chris Snook <chris.snook@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Johannes Berg <johannes@...solutions.net>
Subject: Re: [PATCH] alx: acquire mutex for alx_reinit in alx_change_mtu
On Thu, 10 Mar 2022 17:13:16 +0100 Niels Dossche wrote:
> alx_reinit has a lockdep assertion that the alx->mtx mutex must be held.
> alx_reinit is called from two places: alx_reset and alx_change_mtu.
> alx_reset does acquire alx->mtx before calling alx_reinit.
> alx_change_mtu does not acquire this mutex, nor do its callers or any
> path towards alx_change_mtu.
> Acquire the mutex in alx_change_mtu.
>
> Signed-off-by: Niels Dossche <dossche.niels@...il.com>
What's the Fixes tag?
Powered by blists - more mailing lists