diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-03-05 23:12:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-06 11:05:31 +0000 |
commit | b903117b48681e12fae38e09c874f38c45186dc6 (patch) | |
tree | b3e83847bea3fe5ea52edb5fdd54e5cc01e3c229 /drivers | |
parent | 00f4a0afb7eafdf3dae764ec0c40fe6abfdf8254 (diff) | |
download | linux-b903117b48681e12fae38e09c874f38c45186dc6.tar.gz linux-b903117b48681e12fae38e09c874f38c45186dc6.tar.bz2 linux-b903117b48681e12fae38e09c874f38c45186dc6.zip |
mctp: serial: 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: Jeremy Kerr <jk@codeconstruct.com.au>
Cc: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/mctp/mctp-serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mctp/mctp-serial.c b/drivers/net/mctp/mctp-serial.c index 62723a7faa2d..7cd103fd34ef 100644 --- a/drivers/net/mctp/mctp-serial.c +++ b/drivers/net/mctp/mctp-serial.c @@ -286,7 +286,7 @@ static void mctp_serial_rx(struct mctp_serial *dev) cb = __mctp_cb(skb); cb->halen = 0; - netif_rx_ni(skb); + netif_rx(skb); dev->netdev->stats.rx_packets++; dev->netdev->stats.rx_bytes += dev->rxlen; } |