]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Add missing include for in_interrupt()
authorSven Eckelmann <sven@narfation.org>
Mon, 14 Sep 2020 11:58:16 +0000 (13:58 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 14 Sep 2020 20:23:24 +0000 (22:23 +0200)
commit6d12f6e4a89e11ac26da306cd6145f6563197609
tree5cc9485b252917f0e7f0046401c658fb9888bb2f
parent34d1d7835476f47060568e05e3ba589ff70f1d76
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: 2a88b87baea1 ("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>
net/batman-adv/bridge_loop_avoidance.c