diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-03-03 20:15:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-04 15:02:19 +0300 |
commit | 90f77c1c512ffe2e91473658b5eb259b5da04b04 (patch) | |
tree | 8dd9fa871e06e7c39ce0d58c2852386836657f06 /drivers/net/ethernet/vertexcom | |
parent | db00cc9da079315f199e2b65cc4e05eeb94236e2 (diff) | |
download | linux-90f77c1c512ffe2e91473658b5eb259b5da04b04.tar.xz |
net: ethernet: 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: Ćukasz Stelmach <l.stelmach@samsung.com>
Cc: Horatiu Vultur <horatiu.vultur@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/vertexcom')
-rw-r--r-- | drivers/net/ethernet/vertexcom/mse102x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/vertexcom/mse102x.c b/drivers/net/ethernet/vertexcom/mse102x.c index 25739b182ac7..eb39a45de012 100644 --- a/drivers/net/ethernet/vertexcom/mse102x.c +++ b/drivers/net/ethernet/vertexcom/mse102x.c @@ -362,7 +362,7 @@ static void mse102x_rx_pkt_spi(struct mse102x_net *mse) mse102x_dump_packet(__func__, skb->len, skb->data); skb->protocol = eth_type_trans(skb, mse->ndev); - netif_rx_ni(skb); + netif_rx(skb); mse->ndev->stats.rx_packets++; mse->ndev->stats.rx_bytes += rxlen; |