diff options
author | Felix Fietkau <[email protected]> | 2023-09-13 07:01:34 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2023-09-13 10:14:44 +0200 |
commit | 6e48ebffc2db5419b3a51cfc509bde442252b356 (patch) | |
tree | 7e75a3fe7877203cd668cb278ef95fe3aa367f51 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | d1383077c225ceb87ac7a3b56b2c505193f77ed7 (diff) |
wifi: mac80211: fix mesh id corruption on 32 bit systems
Since the changed field size was increased to u64, mesh_bss_info_changed
pulls invalid bits from the first 3 bytes of the mesh id, clears them, and
passes them on to ieee80211_link_info_change_notify, because
ifmsh->mbss_changed was not updated to match its size.
Fix this by turning into ifmsh->mbss_changed into an unsigned long array with
64 bit size.
Fixes: 15ddba5f4311 ("wifi: mac80211: consistently use u64 for BSS changes")
Reported-by: Thomas Hühn <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions