summaryrefslogtreecommitdiffstats
path: root/net/caif
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2022-03-03 18:15:00 +0100
committerDavid S. Miller <davem@davemloft.net>2022-03-04 12:02:19 +0000
commit3fb4430e73bfa58b14606512239c86b4d186f1ea (patch)
tree3c7b32d21111e8ae83a2873064e6691d6f89fdca /net/caif
parent4343b866aa941077f7dc1421e57f618b2482d03e (diff)
downloadlinux-3fb4430e73bfa58b14606512239c86b4d186f1ea.tar.gz
linux-3fb4430e73bfa58b14606512239c86b4d186f1ea.tar.bz2
linux-3fb4430e73bfa58b14606512239c86b4d186f1ea.zip
net: caif: 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(). Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif')
-rw-r--r--net/caif/chnl_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/chnl_net.c b/net/caif/chnl_net.c
index 414dc5671c45..4d63ef13a1fd 100644
--- a/net/caif/chnl_net.c
+++ b/net/caif/chnl_net.c
@@ -99,7 +99,7 @@ static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt)
else
skb->ip_summed = CHECKSUM_NONE;
- netif_rx_any_context(skb);
+ netif_rx(skb);
/* Update statistics. */
priv->netdev->stats.rx_packets++;