[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240402082823.GF26556@kernel.org>
Date: Tue, 2 Apr 2024 09:28:23 +0100
From: Simon Horman <horms@...nel.org>
To: Johannes Berg <johannes@...solutions.net>
Cc: netdev@...r.kernel.org, jiri@...nulli.us, jhs@...atatu.com,
victor@...atatu.com, kuba@...nel.org, pctammela@...atatu.com,
martin@...ongswan.org, Johannes Berg <johannes.berg@...el.com>
Subject: Re: [PATCH net-next v2 2/2] netdevice: add DEFINE_FREE() for dev_put
On Thu, Mar 28, 2024 at 08:27:50AM +0100, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@...el.com>
>
> For short netdev holds within a function there are still a lot of
> users of dev_put() rather than netdev_put(). Add DEFINE_FREE() to
> allow making those safer.
>
> Signed-off-by: Johannes Berg <johannes.berg@...el.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists