diff options
| author | Mariano Baragiola <mbaragiola@linux.com> | 2026-08-17 20:35:21 -0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-04 12:25:46 +0200 |
| commit | 9d1365e96a920bf79974161e370b5640a0054461 (patch) | |
| tree | a9cf1647474618564ccd52acb189180f54fe2653 /scripts/Makefile.thinlto | |
| parent | 01c15a8b936d319f3daf7ffaddfe44ca5bd40504 (diff) | |
| download | linux-next-9d1365e96a920bf79974161e370b5640a0054461.tar.gz linux-next-9d1365e96a920bf79974161e370b5640a0054461.zip | |
wifi: mac80211: avoid trimming injected FCS twice
When packet sockets use PACKET_QDISC_BYPASS, mac80211 can parse the
radiotap header while selecting the queue and again before transmit.
If the header includes an FCS, both parses trim the skb. Validate the FCS
on both parses, but trim it only before transmit. This keeps queue
selection read-only and avoids trimming shared skb data twice.
Fixes: cb17ed29a7a5 ("mac80211: parse radiotap header when selecting Tx queue")
Signed-off-by: Mariano Baragiola <mbaragiola@linux.com>
Link: https://patch.msgid.link/20260817233521.2747027-1-mbaragiola@linux.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
