[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7gRjN/yVZRKPwbh@nanopsycho>
Date: Fri, 6 Jan 2023 13:18:20 +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
Subject: Re: [PATCH net-next 3/9] devlink: protect devlink->dev by the
instance lock
Fri, Jan 06, 2023 at 07:33:56AM CET, kuba@...nel.org wrote:
>devlink->dev is assumed to be always valid as long as any
>outstanding reference to the devlink instance exists.
>
>In prep for weakening of the references take the instance lock.
>
>Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists