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
..
2020-01-29 10:24:22 +01:00
2021-09-26 13:36:18 +02:00
2021-08-04 11:58:02 +02:00
2020-01-12 11:24:27 +01:00
2021-04-07 12:05:39 +02:00
2020-10-01 20:40:12 +02:00
2020-07-31 16:44:06 +02:00
2021-06-30 08:49:13 -04:00
2021-09-22 11:43:07 +02:00
2021-10-17 10:05:39 +02:00
2021-09-22 11:43:09 +02:00
2021-08-08 08:38:54 +02:00
2020-11-10 10:23:59 +01:00
2021-10-17 10:05:39 +02:00
2021-01-23 15:38:18 +01:00
2021-09-22 11:43:09 +02:00
2021-07-28 09:14:27 +02:00
2018-07-22 14:27:39 +02:00
2020-04-13 10:32:53 +02:00
2020-01-12 11:24:19 +01:00
2021-05-22 10:40:20 +02:00
2021-08-26 08:37:22 -04:00
2021-10-06 10:23:42 +02:00
2021-10-17 10:05:40 +02:00
2017-05-25 15:44:41 +02:00
2018-09-15 09:43:01 +02:00
2020-12-11 13:37:56 +01:00
2019-04-17 08:36:44 +02:00
2021-02-23 13:59:14 +01:00
2021-09-22 11:43:09 +02:00
2021-02-10 09:09:25 +01:00
2021-08-04 11:58:03 +02:00
2021-10-17 10:05:40 +02:00
2021-04-16 11:59:10 +02:00
2021-03-17 16:10:13 +01:00
2021-01-12 19:49:01 +01:00
2021-10-06 10:23:43 +02:00
2021-09-22 11:43:08 +02:00
2021-10-17 10:05:39 +02:00
2021-07-28 09:14:27 +02:00
2021-06-16 11:36:32 +02:00
2021-05-22 10:40:19 +02:00
2021-06-30 08:49:20 -04:00
2019-03-23 13:19:44 +01:00
2021-03-30 14:41:42 +02:00
2021-09-03 09:44:40 +02:00
2020-01-12 11:24:23 +01:00
2020-12-11 13:37:56 +01:00
2021-01-23 15:38:19 +01:00
2021-10-17 10:05:39 +02:00
2021-09-26 13:36:19 +02:00
2018-04-29 11:32:02 +02:00
2021-09-22 11:43:07 +02:00
2016-10-19 10:58:04 -04:00
2021-09-22 11:43:09 +02:00
2021-10-09 13:25:58 +02:00
2021-05-22 10:40:28 +02:00
2021-08-04 11:58:03 +02:00
2021-06-30 08:49:12 -04:00
2021-07-20 16:21:07 +02:00
2021-06-30 08:49:12 -04:00
2021-08-04 11:58:01 +02:00
2020-08-21 11:02:04 +02:00
2016-10-06 09:52:23 -07:00