diff options
author | 2022-12-07 10:18:35 +0800 | |
---|---|---|
committer | 2022-12-12 14:19:26 -0800 | |
commit | 0ba18967d4544955b2eff2fbc4f2a8750c4df90a (patch) | |
tree | f85a15631e032968780c59b2677ee31f96632546 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave() (diff) | |
download | linux-rng-0ba18967d4544955b2eff2fbc4f2a8750c4df90a.tar.xz linux-rng-0ba18967d4544955b2eff2fbc4f2a8750c4df90a.zip |
Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
It is not allowed to call kfree_skb() from hardware interrupt
context or with interrupts being disabled. So replace kfree_skb()
with dev_kfree_skb_irq() under spin_lock_irqsave().
Fixes: 81be03e026dc ("Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions