diff options
author | 2019-10-20 19:56:58 -0500 | |
---|---|---|
committer | 2019-10-23 13:32:39 +0300 | |
commit | b43f4a169f220e459edf3ea8f8cd3ec4ae7fa82d (patch) | |
tree | e371aa1c582c7c9005732e115a3fa72989799df6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | iwlwifi: pcie: 0x2720 is qu and 0x30DC is not (diff) | |
download | wireguard-linux-b43f4a169f220e459edf3ea8f8cd3ec4ae7fa82d.tar.xz wireguard-linux-b43f4a169f220e459edf3ea8f8cd3ec4ae7fa82d.zip |
rtlwifi: rtl_pci: Fix problem of too small skb->len
In commit 8020919a9b99 ("mac80211: Properly handle SKB with radiotap
only"), buffers whose length is too short cause a WARN_ON(1) to be
executed. This change exposed a fault in rtlwifi drivers, which is fixed
by regarding packets with skb->len <= FCS_LEN as though they are in error
and dropping them. The test is now annotated as likely.
Cc: Stable <stable@vger.kernel.org> # v5.0+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions