summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-12-08 17:21:45 +0300
committerDavid S. Miller <davem@davemloft.net>2022-12-12 12:56:17 +0300
commitf07fadcbee2a5e84caa67c7c445424200bffb60b (patch)
treef25cda6f2c0fc061086ba05a71bf642363b209ed /tools/perf/scripts/python/stackcollapse.py
parentd1678bf45f21fa5ae4a456f821858679556ea5f8 (diff)
downloadlinux-f07fadcbee2a5e84caa67c7c445424200bffb60b.tar.xz
net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()
It is not allowed to call kfree_skb() or consume_skb() from hardware interrupt context or with hardware interrupts being disabled. In this case, the lock is used to protected 'bp', so we can move dev_kfree_skb() after the spin_unlock_irqrestore(). Fixes: 4796417417a6 ("dnet: Dave DNET ethernet controller driver (updated)") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions