lkml.org 
[lkml]   [2022]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 015/201] batman-adv: Use netif_rx_any_context() any.
    Date
    From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

    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>
    ---
    net/batman-adv/bridge_loop_avoidance.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- 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_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);
    }

    \
     
     \ /
      Last update: 2022-07-27 19:01    [W:4.034 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site