diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-10-07 15:56:11 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-10-07 15:57:20 +0300 |
commit | d9e249704084982ac7581a560ffa284e11621d43 (patch) | |
tree | f7927b33e00185fa9310a0a48348e8e60ca9a983 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c95014e1d05b5acfd9e6fbe5d1f048b07c6902ff (diff) | |
download | linux-d9e249704084982ac7581a560ffa284e11621d43.tar.xz |
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