[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1393415288.4133.7.camel@jlt4.sipsolutions.net>
Date: Wed, 26 Feb 2014 12:48:08 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Arend van Spriel <arend@...adcom.com>
Cc: "John W. Linville" <linville@...driver.com>,
linux-wireless <linux-wireless@...r.kernel.org>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 01/14] brcmfmac: add delay before unregistering the
network device
On Wed, 2014-02-26 at 12:34 +0100, Arend van Spriel wrote:
> > I'm not sure this isn't still possible? I don't know when DELLINK is
> > sent.
>
> Given the behaviour I would say before the netdev notifier, which may be
> considered wrong. It depends whether the notifier was intended for the
> kind of thing that cfg80211 is doing, ie. send a netlink event to
> user-space?
Well, I checked:
call_netdevice_notifiers(NETDEV_UNREGISTER, dev);
if (!dev->rtnl_link_ops ||
dev->rtnl_link_state == RTNL_LINK_INITIALIZED)
rtmsg_ifinfo(RTM_DELLINK, dev, ~0U, GFP_KERNEL);
so ... :)
johannes
--
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