diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-09-20 15:40:05 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-09-23 13:25:09 +0200 |
commit | b9731062ce8afd35cf723bf3a8ad55d208f915a5 (patch) | |
tree | 078ec7637a69b5731b099c5d6b6d907e82d8bea1 /net/sctp | |
parent | mac80211: limit injected vht mcs/nss in ieee80211_parse_tx_radiotap (diff) | |
download | linux-b9731062ce8afd35cf723bf3a8ad55d208f915a5.tar.xz linux-b9731062ce8afd35cf723bf3a8ad55d208f915a5.zip |
mac80211: mesh: fix potentially unaligned access
The pointer here points directly into the frame, so the
access is potentially unaligned. Use get_unaligned_le16
to avoid that.
Fixes: 3f52b7e328c5 ("mac80211: mesh power save basics")
Link: https://lore.kernel.org/r/20210920154009.3110ff75be0c.Ib6a2ff9e9cc9bc6fca50fce631ec1ce725cc926b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions