diff options
author | Sven Eckelmann <sven@narfation.org> | 2020-09-14 14:58:16 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2020-09-14 23:23:24 +0300 |
commit | 4bba9dab86b6ac15ca560ef1f2b5aa4529cbf784 (patch) | |
tree | 5cc9485b252917f0e7f0046401c658fb9888bb2f /net | |
parent | 7dda5b3384121181c4e79f6eaeac2b94c0622c8d (diff) | |
download | linux-4bba9dab86b6ac15ca560ef1f2b5aa4529cbf784.tar.xz |
batman-adv: Add missing include for in_interrupt()
The fix for receiving (internally generated) bla packets outside the
interrupt context introduced the usage of in_interrupt(). But this
functionality is only defined in linux/preempt.h which was not included
with the same patch.
Fixes: 279e89b2281a ("batman-adv: bla: use netif_rx_ni when not in interrupt context")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net')
-rw-r--r-- | net/batman-adv/bridge_loop_avoidance.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c index d8c5d3170676..08419a2e6b95 100644 --- a/net/batman-adv/bridge_loop_avoidance.c +++ b/net/batman-adv/bridge_loop_avoidance.c @@ -25,6 +25,7 @@ #include <linux/lockdep.h> #include <linux/netdevice.h> #include <linux/netlink.h> +#include <linux/preempt.h> #include <linux/rculist.h> #include <linux/rcupdate.h> #include <linux/seq_file.h> |