[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y5rd8xTN/2Loy8OR@nanopsycho>
Date: Thu, 15 Dec 2022 09:42:27 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, jacob.e.keller@...el.com, leon@...nel.org
Subject: Re: [RFC net-next 04/15] devlink: protect devlink dump by the
instance lock
Thu, Dec 15, 2022 at 03:01:44AM CET, kuba@...nel.org wrote:
>Take the instance lock around devlink_nl_fill() when the dumping.
>We are only dumping basic info so in the worst case we were only
>risking data races until now.
>
>Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Should this be a separate patch targeted to -net with proper "fixes"
instead?
Powered by blists - more mailing lists