aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-05-03 16:09:13 +0300
committerFelix Fietkau <nbd@nbd.name>2019-06-25 12:55:25 +0200
commit9db1aec0c2d72a3b7b115ba56e8dbb5b46855333 (patch)
treee9029b71a2a93803743a0bfc6f9020709bfaf9d6 /tools/perf/scripts/python/export-to-postgresql.py
parentmt76: Fix a signedness bug in mt7615_add_interface() (diff)
downloadlinux-9db1aec0c2d72a3b7b115ba56e8dbb5b46855333.tar.gz
linux-9db1aec0c2d72a3b7b115ba56e8dbb5b46855333.zip
mt76: mt7615: Use after free in mt7615_mcu_set_bcn()
We dereference "skb" when we assign: req.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); ^^^^^^^^ So this patch just moves the dev_kfree_skb() down a bit to avoid the use after free. Fixes: 04b8e65922f6 ("mt76: add mac80211 driver for MT7615 PCIe-based chipsets") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions