diff options
| author | YueHaibing <[email protected]> | 2021-08-27 14:42:30 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2021-09-23 11:05:38 +0000 |
| commit | a6555f844549cd190eb060daef595f94d3de1582 (patch) | |
| tree | 32c09e0e293f8477599f7da8e0bfbeca6393e9f3 /net/unix/af_unix.c | |
| parent | mac80211: Fix ieee80211_amsdu_aggregate frag_tail bug (diff) | |
| download | kernel-a6555f844549cd190eb060daef595f94d3de1582.tar.gz kernel-a6555f844549cd190eb060daef595f94d3de1582.zip | |
mac80211: Drop frames from invalid MAC address in ad-hoc mode
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
