YueHaibing
be191c8e68
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:42:34 +02:00
..
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-31 10:51:17 +02:00
2019-06-19 17:09:55 +02:00
2021-04-21 12:56:15 +02:00
2019-05-21 10:50:45 +02:00
2019-06-22 08:59:24 -04:00
2019-10-01 17:56:19 +02:00
2020-04-01 11:02:01 +02:00
2019-07-26 13:29:10 +02:00
2021-02-10 09:25:29 +01:00
2019-07-26 13:08:28 +02:00
2019-06-05 17:37:16 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-08-21 10:58:32 +02:00
2019-07-29 16:40:22 +02:00
2021-03-30 14:35:29 +02:00
2021-06-30 08:47:45 -04:00
2021-09-22 12:26:32 +02:00
2019-07-08 20:57:08 -07:00
2021-06-03 08:59:01 +02:00
2021-06-03 08:59:01 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-05-14 09:44:28 +02:00
2018-10-11 16:01:01 +02:00
2021-03-04 10:26:17 +01:00
2020-12-21 13:27:03 +01:00
2019-07-26 16:14:12 +02:00
2021-10-06 15:42:32 +02:00
2019-06-19 17:09:55 +02:00
2020-05-02 08:48:58 +02:00
2019-07-26 16:14:12 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-07-14 16:53:04 +02:00
2019-06-19 17:09:55 +02:00
2019-07-26 13:08:28 +02:00
2021-02-10 09:25:29 +01:00
2020-04-29 16:33:18 +02:00
2018-10-11 16:01:05 +02:00
2019-06-19 17:09:55 +02:00
2020-04-29 16:33:18 +02:00
2019-08-21 11:10:13 +02:00
2020-11-24 13:29:23 +01:00
2020-11-24 13:29:23 +01:00
2021-10-17 10:42:34 +02:00
2019-10-07 22:10:50 +02:00
2021-02-13 13:52:55 +01:00
2021-07-14 16:53:32 +02:00
2021-06-03 08:59:01 +02:00
2020-05-10 10:31:32 +02:00
2019-06-17 15:55:34 -07:00
2020-02-05 21:22:46 +00:00
2019-07-08 20:57:08 -07:00
2019-03-29 11:20:36 +01:00
2019-07-26 13:08:28 +02:00
2021-10-06 15:42:32 +02:00
2020-03-05 16:43:41 +01:00
2020-12-30 11:51:25 +01:00
2019-07-08 20:57:08 -07:00
2019-07-08 20:57:08 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-10-06 15:42:31 +02:00
2019-06-19 17:09:55 +02:00