From: Sebastian Andrzej Siewior Date: Sun, 6 Mar 2022 21:57:47 +0000 (+0100) Subject: tipc: Use netif_rx(). X-Git-Tag: v6.1-rc5~1746^2~171^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0f0db8292e6fdb6b467a2270fa88b219ac98fb7;p=platform%2Fkernel%2Flinux-starfive.git tipc: Use netif_rx(). 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: Jon Maloy Cc: Ying Xue Cc: tipc-discussion@lists.sourceforge.net Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: David S. Miller --- diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c index 473a790..9dfe2bd 100644 --- a/net/tipc/bearer.c +++ b/net/tipc/bearer.c @@ -768,7 +768,7 @@ void tipc_clone_to_loopback(struct net *net, struct sk_buff_head *pkts) skb->pkt_type = PACKET_HOST; skb->ip_summed = CHECKSUM_UNNECESSARY; skb->protocol = eth_type_trans(skb, dev); - netif_rx_ni(skb); + netif_rx(skb); } }