From: Sven Eckelmann Date: Mon, 14 Sep 2020 11:58:16 +0000 (+0200) Subject: batman-adv: Add missing include for in_interrupt() X-Git-Tag: v4.19.149~19 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=14d60e8488156da66cbd210219bcae2b3aa6b14f;p=users%2Fdwmw2%2Flinux.git batman-adv: Add missing include for in_interrupt() [ Upstream commit 4bba9dab86b6ac15ca560ef1f2b5aa4529cbf784 ] 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 Signed-off-by: Simon Wunderlich Signed-off-by: Sasha Levin --- diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c index e71a35a3950de..557d7fdf0b8dc 100644 --- a/net/batman-adv/bridge_loop_avoidance.c +++ b/net/batman-adv/bridge_loop_avoidance.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include