diff options
author | 2022-10-07 14:56:11 +0200 | |
---|---|---|
committer | 2022-10-07 14:57:20 +0200 | |
commit | d9e249704084982ac7581a560ffa284e11621d43 (patch) | |
tree | f7927b33e00185fa9310a0a48348e8e60ca9a983 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | wifi: mac80211: netdev compatible TX stop for iTXQ drivers (diff) | |
download | wireguard-linux-d9e249704084982ac7581a560ffa284e11621d43.tar.xz wireguard-linux-d9e249704084982ac7581a560ffa284e11621d43.zip |
wifi: cfg80211: fix ieee80211_data_to_8023_exthdr handling of small packets
STP topology change notification packets only have a payload of 7 bytes,
so they get dropped due to the skb->len < hdrlen + 8 check.
Fix this by removing the extra 8 from the skb->len check and checking the
return code on the skb_copy_bits calls.
Fixes: 2d1c304cb2d5 ("cfg80211: add function for 802.3 conversion with separate output buffer")
Reported-by: Chad Monroe <chad.monroe@smartrg.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions