[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1417539160.5303.73.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Tue, 02 Dec 2014 08:52:40 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Roopa Prabhu <roopa@...ulusnetworks.com>
Cc: Mahesh Bandewar <maheshb@...gle.com>,
netdev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
Subject: Re: [PATCH net-next] rtnetlink: delay RTM_DELLINK notification
until after ndo_uninit()
On Tue, 2014-12-02 at 08:41 -0800, Roopa Prabhu wrote:
> fair point. But the commit that moved things around was done to handle
> cases where,
> the ndo_uninit() already sends some notifications to userspace for the
> changes
> during uninit (example bond driver).
>
> The only point i was making was that the dellink after the ndo_uninit in
> your
> case now contains state that was prior to uninit for these drivers.
I think Mahesh forgot to mention your patch probably broke some drivers.
calling rtmsg_ifinfo() after uninit() is probably breaking dummy device,
as it does :
static void dummy_dev_uninit(struct net_device *dev)
{
free_percpu(dev->dstats);
}
It looks like 'fixing' ipvlan is not going to help.
Instead of checking all drivers for such interesting side effects,
and revert your patch, we had the idea of this solution.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists