diff options
| author | Jeff Johnson <[email protected]> | 2023-08-31 11:22:58 -0700 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2023-09-11 11:27:23 +0200 |
| commit | 2ae5c9248e06dac2c2360be26b4e25f673238337 (patch) | |
| tree | ff97863a0f05d0dced5f9cea6442eddf4808abc6 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 076fc8775dafe995e94c106bb732bf2d42dedcea (diff) | |
wifi: mac80211: Use flexible array in struct ieee80211_tim_ie
Currently struct ieee80211_tim_ie defines:
u8 virtual_map[1];
Per the guidance in [1] change this to be a flexible array.
Per the discussion in [2] wrap the virtual_map in a union with a u8
item in order to preserve the existing expectation that the
virtual_map must contain at least one octet (at least when used in a
non-S1G PPDU). This means that no driver changes are required.
[1] https://docs.kernel.org/process/deprecated.html#zero-length-and-one-element-arrays
[2] https://lore.kernel.org/linux-wireless/202308301529.AC90A9EF98@keescook/
Suggested-by: Kees Cook <[email protected]>
Signed-off-by: Jeff Johnson <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[add wifi prefix]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions