diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-09-20 15:40:05 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-06 15:42:32 +0200 |
commit | 21c3a844939c422d5403cafdb3e2a6a4d5bfea8a (patch) | |
tree | e675f149244a2d7635186e245872190d3c8f8625 /net/unix/af_unix.c | |
parent | ab85997465b972d39d9747fc16311fa5773374b2 (diff) |
mac80211: mesh: fix potentially unaligned access
[ Upstream commit b9731062ce8afd35cf723bf3a8ad55d208f915a5 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions