YueHaibing
2db11e4501
mac80211: Drop frames from invalid MAC address in ad-hoc mode
...
[ Upstream commit a6555f844549cd190eb060daef595f94d3de1582 ]
WARNING: CPU: 1 PID: 9 at net/mac80211/sta_info.c:554
sta_info_insert_rcu+0x121/0x12a0
Modules linked in:
CPU: 1 PID: 9 Comm: kworker/u8:1 Not tainted 5.14.0-rc7+ #253
Workqueue: phy3 ieee80211_iface_work
RIP: 0010:sta_info_insert_rcu+0x121/0x12a0
...
Call Trace:
ieee80211_ibss_finish_sta+0xbc/0x170
ieee80211_ibss_work+0x13f/0x7d0
ieee80211_iface_work+0x37a/0x500
process_one_work+0x357/0x850
worker_thread+0x41/0x4d0
If an Ad-Hoc node receives packets with invalid source MAC address,
it hits a WARN_ON in sta_info_insert_check(), this can spam the log.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20210827144230.39944-1-yuehaibing@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-17 10:05:40 +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-17 16:14:04 +02:00
2016-10-17 16:14:04 +02:00
2016-10-17 16:14:04 +02:00
2017-03-15 10:02:47 +08:00
2018-11-10 07:42:47 -08:00
2021-03-30 14:41:41 +02:00
2017-12-09 22:01:51 +01:00
2019-10-29 09:15:03 +01:00
2021-08-26 08:37:25 -04:00
2016-09-30 13:29:31 +02:00
2021-02-10 09:09:25 +01:00
2019-04-27 09:34:45 +02:00
2018-11-10 07:42:47 -08:00
2021-03-30 14:41:43 +02:00
2021-06-30 08:49:19 -04:00
2021-06-03 08:23:28 +02:00
2021-08-26 08:37:25 -04:00
2021-06-03 08:23:28 +02:00
2021-05-22 10:40:27 +02:00
2021-03-03 17:44:34 +01:00
2020-12-29 13:44:48 +01:00
2018-03-24 11:00:17 +01:00
2017-11-30 08:39:13 +00:00
2019-07-21 09:05:52 +02:00
2021-05-22 10:40:29 +02:00
2017-10-05 09:43:58 +02:00
2017-03-15 10:02:47 +08:00
2021-02-10 09:09:25 +01:00
2020-01-29 10:24:30 +01:00
2020-11-24 13:03:09 +01:00
2020-11-24 13:03:09 +01:00
2021-10-17 10:05:40 +02:00
2016-09-15 16:46:16 +02:00
2018-05-30 07:50:28 +02:00
2021-06-03 08:23:28 +02:00
2021-08-26 08:37:25 -04:00
2020-05-10 10:28:03 +02:00
2019-10-05 12:30:09 +02:00
2020-02-05 13:05:50 +00:00
2016-09-30 13:45:44 +02:00
2021-10-06 10:23:41 +02:00
2020-03-11 07:53:02 +01:00
2020-10-14 09:48:12 +02:00
2018-01-17 09:38:49 +01:00
2021-10-06 10:23:41 +02:00