summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-22 17:34:55 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-27 00:21:59 +0300
commit0942170f32e1e9076f9a5f350250b8ec59ac04fa (patch)
tree564d58fb7ffde8b573a62a3446b3b9f7ec6f858e /tools/perf/scripts/python/stackcollapse.py
parenta24a9d7aca2daef4ac87d1ef00ef21586ec6affe (diff)
downloadlinux-0942170f32e1e9076f9a5f350250b8ec59ac04fa.tar.xz
net: ns83820: use dev_kfree_skb_irq instead of kfree_skb
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled, spin_lock_irqsave() make sure always in irq disable context. So the kfree_skb() should be replaced with dev_kfree_skb_irq(). This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun <weiyongjun1@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