Matt Chen
a9e9200d86
mac80211: flush delayed work when entering suspend
...
The issue was found when entering suspend and resume.
It triggers a warning in:
mac80211/key.c: ieee80211_enable_keys()
...
WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt ||
sdata->crypto_tx_tailroom_pending_dec);
...
It points out sdata->crypto_tx_tailroom_pending_dec isn't cleaned up successfully
in a delayed_work during suspend. Add a flush_delayed_work to fix it.
Cc: stable@vger.kernel.org
Signed-off-by: Matt Chen <matt.chen@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-27 14:00:26 +01:00
..
2016-10-17 16:14:04 +02:00
2016-10-17 16:14:04 +02:00
2017-02-08 09:19:33 +01:00
2017-02-08 09:19:33 +01:00
2016-10-17 16:14:04 +02:00
2016-10-17 16:14:04 +02:00
2016-10-17 16:14:04 +02:00
2016-10-17 16:14:04 +02:00
2016-10-19 12:11:49 +02:00
2016-09-15 10:08:52 +02:00
2017-02-09 15:17:30 +01:00
2017-01-17 15:19:37 -05:00
2014-11-04 13:18:21 +01:00
2016-02-24 09:04:38 +01:00
2010-12-13 15:23:29 -05:00
2016-12-13 16:05:11 +01:00
2014-04-09 14:49:43 +02:00
2017-02-07 10:40:50 +01:00
2008-03-06 15:30:46 -05:00
2017-02-08 10:05:07 +01:00
2014-04-09 14:49:43 +02:00
2016-09-30 13:45:44 +02:00
2016-09-30 13:45:44 +02:00
2015-10-21 10:08:22 +02:00
2017-02-10 14:31:51 -05:00
2016-10-27 16:03:25 +02:00
2016-02-24 09:04:20 +01:00
2017-02-09 15:18:24 +01:00
2017-01-14 12:02:15 -05:00
2017-01-17 15:19:37 -05:00
2017-02-08 09:19:17 +01:00
2016-12-13 15:57:59 +01:00
2017-02-08 09:19:33 +01:00
2015-05-11 19:16:04 +02:00
2015-05-05 14:21:56 +02:00
2017-01-13 11:31:26 +01:00
2016-12-16 00:13:43 +02:00
2016-09-23 06:46:57 -04:00
2016-09-12 12:27:14 +02:00
2016-12-13 16:05:11 +01:00
2015-07-17 15:47:11 +02:00
2016-12-13 16:22:27 +01:00
2017-02-07 16:29:30 -05:00
2016-12-13 16:22:27 +01:00
2008-07-08 14:16:01 -04:00
2014-04-09 14:49:43 +02:00
2017-02-08 10:43:40 +01:00
2016-04-06 13:18:15 +02:00
2016-10-12 09:19:12 +02:00
2017-02-27 14:00:26 +01:00
2017-01-24 16:31:54 +01:00
2016-04-05 11:59:05 +02:00
2016-12-15 11:07:52 +01:00
2016-12-15 11:07:52 +01:00
2016-12-15 11:07:53 +01:00
2016-12-15 11:07:52 +01:00
2016-12-15 11:07:53 +01:00
2016-12-15 11:07:53 +01:00
2017-02-27 14:00:26 +01:00
2016-12-13 16:05:09 +01:00
2016-07-06 14:55:04 +02:00
2017-01-17 15:19:37 -05:00
2016-10-19 12:11:49 +02:00
2017-01-26 09:50:44 +01:00
2016-08-30 08:03:41 +02:00
2016-02-24 09:04:38 +01:00
2016-02-24 09:04:38 +01:00
2015-04-07 12:32:09 -04:00
2015-04-07 12:32:09 -04:00
2017-02-09 15:17:30 +01:00
2017-01-26 09:50:44 +01:00
2016-10-27 09:18:07 +02:00
2017-01-17 15:19:37 -05:00
2017-01-12 10:15:18 +01:00
2012-03-13 14:54:16 -04:00
2016-10-12 14:17:13 +02:00
2014-10-22 10:42:09 +02:00
2017-01-12 10:15:18 +01:00
2015-01-27 11:10:13 +01:00