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/micrel | |
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/micrel')
-rw-r--r-- | drivers/net/ethernet/micrel/ks8851_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/micrel/ks8851_spi.c b/drivers/net/ethernet/micrel/ks8851_spi.c index d167d93e4c12..82d55fc27edc 100644 --- a/drivers/net/ethernet/micrel/ks8851_spi.c +++ b/drivers/net/ethernet/micrel/ks8851_spi.c @@ -293,7 +293,7 @@ static void ks8851_wrfifo_spi(struct ks8851_net *ks, struct sk_buff *txp, */ static void ks8851_rx_skb_spi(struct ks8851_net *ks, struct sk_buff *skb) { - netif_rx_ni(skb); + netif_rx(skb); } /** |