diff options
| author | 2021-09-27 11:51:24 +0200 | |
|---|---|---|
| committer | 2021-09-27 13:02:51 +0200 | |
| commit | 7ff379ba2d4b7b205240e666601fe302207d73f8 (patch) | |
| tree | 96d6e77b99971e8acce7f111b972fbded5211da3 /tools/perf/scripts/python/netdev-times.py | |
| parent | cfg80211: AP mode driver offload for FILS association crypto (diff) | |
| download | linux-dev-7ff379ba2d4b7b205240e666601fe302207d73f8.tar.xz linux-dev-7ff379ba2d4b7b205240e666601fe302207d73f8.zip | |
mac80211: twt: don't use potentially unaligned pointer
Since we're pointing into a frame, the pointer to the
twt_agrt->req_type struct member is potentially not
aligned properly. Open-code le16p_replace_bits() to
avoid passing an unaligned pointer.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: f5a4c24e689f ("mac80211: introduce individual TWT support in AP mode")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20210927115124.e1208694f37b.Ie3de9bcc5dde5a79e3ac81f3185beafe4d214e57@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
