summaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2022-07-19 18:08:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-29 17:25:07 +0200
commit0cac1c84e1ccdd71924c644f83e24f5ef47d6f7c (patch)
tree23960ef9c421e2104e8b0a1994bc72b58a6a6d66 /net/batman-adv
parentbe56f007c41400f5115e390cab69ff4c464c2370 (diff)
downloadlinux-stable-0cac1c84e1ccdd71924c644f83e24f5ef47d6f7c.tar.gz
linux-stable-0cac1c84e1ccdd71924c644f83e24f5ef47d6f7c.tar.bz2
linux-stable-0cac1c84e1ccdd71924c644f83e24f5ef47d6f7c.zip
batman-adv: Use netif_rx_any_context() any.
This reverts the stable commit e65d78b12fbc0 ("batman-adv: Use netif_rx().") The commit message says: | Since commit | baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.") | | the function netif_rx() can be used in preemptible/thread context as | well as in interrupt context. This commit (baebdf48c3600) has not been backported to the 5.15 stable series and therefore, the commit which builds upon it, must not be backported either. Revert the backport and use netif_rx_any_context() again. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/bridge_loop_avoidance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c
index 11f6ef657d82..17687848daec 100644
--- a/net/batman-adv/bridge_loop_avoidance.c
+++ b/net/batman-adv/bridge_loop_avoidance.c
@@ -443,7 +443,7 @@ static void batadv_bla_send_claim(struct batadv_priv *bat_priv, u8 *mac,
batadv_add_counter(bat_priv, BATADV_CNT_RX_BYTES,
skb->len + ETH_HLEN);
- netif_rx(skb);
+ netif_rx_any_context(skb);
out:
batadv_hardif_put(primary_if);
}