[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a5ac1a2e09096280f56c657e966c728ca8e176a0.camel@sipsolutions.net>
Date: Thu, 01 Dec 2022 15:14:46 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Zhengchao Shao <shaozhengchao@...wei.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com
Cc: weiyongjun1@...wei.com, yuehaibing@...wei.com
Subject: Re: [PATCH net] wifi: mac80211: fix WARNING in
ieee80211_link_info_change_notify()
On Fri, 2022-11-04 at 19:08 +0800, Zhengchao Shao wrote:
>
> The execution process is as follows:
> Thread A:
> ieee80211_open()
> ieee80211_do_open()
> drv_add_interface() //set IEEE80211_SDATA_IN_DRIVER flag
> ...
> cfg80211_shutdown_all_interfaces()
> ...
> ieee80211_stop()
> ieee80211_do_stop()
> drv_remove_interface() //clear flag
> ...
> nl80211_set_mcast_rate()
How is that possible after the interface is no longer running? That
seems to be the issue? I suppose that should be annotated to not be
allowed?
johannes
Powered by blists - more mailing lists