Patch "batman-adv: Use netif_rx()." has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    batman-adv: Use netif_rx().

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     batman-adv-use-netif_rx.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 97de25fc18f995bfb8d2773b427728faafa26c89
Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Date:   Sun Mar 6 22:57:48 2022 +0100

    batman-adv: Use netif_rx().
    
    [ Upstream commit 94da81e2fc4285db373fe9a1eb012c2ee205b110 ]
    
    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.
    
    Use netif_rx().
    
    Cc: Antonio Quartulli <a@xxxxxxxxxxx>
    Cc: Marek Lindner <mareklindner@xxxxxxxxxxxxx>
    Cc: Simon Wunderlich <sw@xxxxxxxxxxxxxxxxxx>
    Cc: Sven Eckelmann <sven@xxxxxxxxxxxxx>
    Cc: b.a.t.m.a.n@xxxxxxxxxxxxxxxxxxx
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
    Acked-by: Sven Eckelmann <sven@xxxxxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c
index 17687848daec..11f6ef657d82 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_any_context(skb);
+	netif_rx(skb);
 out:
 	batadv_hardif_put(primary_if);
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux