summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2021-08-13 17:57:49 +0300
committerJakub Kicinski <kuba@kernel.org>2021-08-14 00:09:19 +0300
commitafa79d08c6c8e1901cb1547591e3ccd3ec6965d9 (patch)
tree116982e91b8dbb615292bb432f64a45c277a0376 /include/linux/netdevice.h
parent39a0876d595bd7c7512782dfcce0ee66f65bf221 (diff)
downloadlinux-afa79d08c6c8e1901cb1547591e3ccd3ec6965d9.tar.xz
net: in_irq() cleanup
Replace the obsolete and ambiguos macro in_irq() with new macro in_hardirq(). Signed-off-by: Changbin Du <changbin.du@gmail.com> Link: https://lore.kernel.org/r/20210813145749.86512-1-changbin.du@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index bd8d5b8e2de3..2f03cd9e371a 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -3956,7 +3956,7 @@ void __dev_kfree_skb_any(struct sk_buff *skb, enum skb_free_reason reason);
/*
* It is not allowed to call kfree_skb() or consume_skb() from hardware
* interrupt context or with hardware interrupts being disabled.
- * (in_irq() || irqs_disabled())
+ * (in_hardirq() || irqs_disabled())
*
* We provide four helpers that can be used in following contexts :
*