diff options
author | Changbin Du <changbin.du@gmail.com> | 2021-08-13 22:57:49 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-13 14:09:19 -0700 |
commit | afa79d08c6c8e1901cb1547591e3ccd3ec6965d9 (patch) | |
tree | 116982e91b8dbb615292bb432f64a45c277a0376 /include | |
parent | 39a0876d595bd7c7512782dfcce0ee66f65bf221 (diff) |
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')
-rw-r--r-- | include/linux/netdevice.h | 2 |
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 : * |