diff options
| author | 2026-10-12 22:07:36 +0800 | |
|---|---|---|
| committer | 2026-10-13 13:59:06 +0200 | |
| commit | c49f54fd2abff08964677db8fdc1674c713ab42c (patch) | |
| tree | 9c6195dde92795ec3046296752671eadda1d6139 /scripts/Makefile.thinlto | |
| parent | wifi: mac80211: fix interface registration error path order (diff) | |
wifi: mac80211: fix encryption tailroom
BIP-CMAC-256 and BIP-GMAC append a 26-byte MME but mac80211
currently reserves only 18 bytes of encryption tailroom.
Generating 26-byte MME may happen to work because the actual skb
tailroom can exceed the requested amount. For example, dev_alloc_skb()
rounds the allocation to kmalloc size buckets or alignment boundaries,
and the extra space may cover the 8-byte shortfall.
Reserve enough tailroom for the 26-byte MME.
Fixes: 56c52da2d554 ("mac80111: Add BIP-CMAC-256 cipher")
Signed-off-by: Chien Wong <m@xv97.com>
Link: https://patch.msgid.link/20261012140738.70178-2-m@xv97.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
