[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220105085744.52015420@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 5 Jan 2022 08:57:44 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>
Cc: Johannes Berg <johannes@...solutions.net>,
"David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next 11/13] netlink: add net device refcount tracker
to struct ethnl_req_info
On Tue, 04 Jan 2022 17:23:51 +0100 Johannes Berg wrote:
> > diff --git a/net/ethtool/netlink.c b/net/ethtool/netlink.c
> > index ea23659fab28..5fe8f4ae2ceb 100644
> > --- a/net/ethtool/netlink.c
> > +++ b/net/ethtool/netlink.c
> > @@ -627,7 +627,6 @@ static void ethnl_default_notify(struct net_device
> > *dev, unsigned int cmd,
> > }
> >
> > req_info->dev = dev;
> > - netdev_tracker_alloc(dev, &req_info->dev_tracker, GFP_KERNEL);
>
> So I had already tested both this and explicitly doing
> netdev_tracker_free() when req_info is freed, both work fine.
>
> Tested-by: Johannes Berg <johannes@...solutions.net>
>
> Just wasn't sure it was correct or I was missing something. :)
Hi Eric, I didn't see this one submitted, is it coming?
No rush, just checking if it fell thru the cracks.
Powered by blists - more mailing lists