Johannes Berg <johan...@sipsolutions.net> writes:

> From: Johannes Berg <johannes.b...@intel.com>
>
> Drivers typically expect this, as it's the case for almost all cases
> where this is called (i.e. from the TX path). Also, the code in mac80211
> itself (if the driver calls ieee80211_tx_dequeue()) expects this as it
> uses this_cpu_ptr() without additional protection.
>
> This should fix various reports of the problem:
> https://bugzilla.kernel.org/show_bug.cgi?id=204127
> https://lore.kernel.org/linux-wireless/can5hydrwb3o_fe6a1xdnp1e+xs66d5kieuhhfigkklnqokx...@mail.gmail.com/
> https://lore.kernel.org/lkml/nycvar.yfh.7.76.1909111238470....@cbobk.fhfr.pm/
>
> Reported-by: Jiri Kosina <ji...@kernel.org>
> Reported-by: Aaron Hill <aa1ron...@gmail.com>
> Reported-by: Lukas Redlinger <rel+ker...@agilox.net>
> Reported-by: Oleksii Shevchuk <alx...@gmail.com>
> Signed-off-by: Johannes Berg <johannes.b...@intel.com>

Reviewed-by: Toke Høiland-Jørgensen <t...@redhat.com>

Reply via email to