[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091005.022239.95915308.davem@davemloft.net>
Date: Mon, 05 Oct 2009 02:22:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: johannes@...solutions.net
Cc: linville@...driver.com, miles.lane@...il.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] wext: let get_wireless_stats() sleep
From: Johannes Berg <johannes@...solutions.net>
Date: Mon, 05 Oct 2009 11:15:59 +0200
> A number of drivers (recently including cfg80211-based ones)
> assume that all wireless handlers, including statistics, can
> sleep and they often also implicitly assume that the rtnl is
> held around their invocation. This is almost always true now
> except when reading from sysfs:
...
> Fix this by using the rtnl instead of dev_base_lock.
>
> Reported-by: Miles Lane <miles.lane@...il.com>
> Signed-off-by: Johannes Berg <johannes@...solutions.net>
Fair enough, applied, thanks!
--
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