diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-03-03 18:15:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-04 12:02:19 +0000 |
commit | 3fb4430e73bfa58b14606512239c86b4d186f1ea (patch) | |
tree | 3c7b32d21111e8ae83a2873064e6691d6f89fdca /net/caif/chnl_net.c | |
parent | 4343b866aa941077f7dc1421e57f618b2482d03e (diff) | |
download | lwn-3fb4430e73bfa58b14606512239c86b4d186f1ea.tar.gz lwn-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/chnl_net.c')
-rw-r--r-- | net/caif/chnl_net.c | 2 |
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++; |