summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-07-01 14:15:07 +0300
committerFelix Fietkau <nbd@nbd.name>2019-09-05 18:42:27 +0300
commit850e8f6fbd5d0003b0f1119d19a01c6fef1644e2 (patch)
treeb6660812f06aabdab6b66d81954fe0984b5c42c5 /tools/perf/scripts/python/export-to-sqlite.py
parent84b0b66352470e6491c06159735ac916dc69a2ef (diff)
downloadlinux-850e8f6fbd5d0003b0f1119d19a01c6fef1644e2.tar.xz
mt76: round up length on mt76_wr_copy
When beacon length is not a multiple of 4, the beacon could be sent with the last 1-3 bytes corrupted. The skb data is guaranteed to have enough room for reading beyond the end, because it is always followed by skb_shared_info, so rounding up is safe. All other callers of mt76_wr_copy have multiple-of-4 length already. Cc: stable@vger.kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions