]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop broken 3.18 mac80211 patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Apr 2019 14:10:55 +0000 (16:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Apr 2019 14:10:55 +0000 (16:10 +0200)
queue-3.18/mac80211-do-not-call-driver-wake_tx_queue-op-during-reconfig.patch [deleted file]
queue-3.18/series

diff --git a/queue-3.18/mac80211-do-not-call-driver-wake_tx_queue-op-during-reconfig.patch b/queue-3.18/mac80211-do-not-call-driver-wake_tx_queue-op-during-reconfig.patch
deleted file mode 100644 (file)
index 1a45419..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From 4856bfd230985e43e84c26473c91028ff0a533bd Mon Sep 17 00:00:00 2001
-From: Felix Fietkau <nbd@nbd.name>
-Date: Fri, 1 Mar 2019 14:48:37 +0100
-Subject: mac80211: do not call driver wake_tx_queue op during reconfig
-
-From: Felix Fietkau <nbd@nbd.name>
-
-commit 4856bfd230985e43e84c26473c91028ff0a533bd upstream.
-
-There are several scenarios in which mac80211 can call drv_wake_tx_queue
-after ieee80211_restart_hw has been called and has not yet completed.
-Driver private structs are considered uninitialized until mac80211 has
-uploaded the vifs, stations and keys again, so using private tx queue
-data during that time is not safe.
-
-The driver can also not rely on drv_reconfig_complete to figure out when
-it is safe to accept drv_wake_tx_queue calls again, because it is only
-called after all tx queues are woken again.
-
-To fix this, bail out early in drv_wake_tx_queue if local->in_reconfig
-is set.
-
-Cc: stable@vger.kernel.org
-Signed-off-by: Felix Fietkau <nbd@nbd.name>
-Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- net/mac80211/driver-ops.h |    3 +++
- 1 file changed, 3 insertions(+)
-
---- a/net/mac80211/driver-ops.h
-+++ b/net/mac80211/driver-ops.h
-@@ -1122,6 +1122,9 @@ static inline int drv_start_ap(struct ie
- {
-       int ret = 0;
-+      if (local->in_reconfig)
-+              return;
-+
-       if (!check_sdata_in_driver(sdata))
-               return -EIO;
index 04ca2e4c037db113babd145d45df3c88e89179ff..0a844395440242155ac9bf046a4b7cc6dd0f9e57 100644 (file)
@@ -100,6 +100,5 @@ staging-comedi-ni_usb6501-fix-possible-double-free-of-usb_rx_buf.patch
 alsa-core-fix-card-races-between-register-and-disconnect.patch
 x86-kprobes-verify-stack-frame-on-kretprobe.patch
 kprobes-fix-error-check-when-reusing-optimized-probes.patch
-mac80211-do-not-call-driver-wake_tx_queue-op-during-reconfig.patch
 sched-fair-limit-sched_cfs_period_timer-loop-to-avoi.patch
 device_cgroup-fix-rcu-imbalance-in-error-case.patch