mctp: serial: Use netif_rx().
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sat, 5 Mar 2022 22:12:47 +0000 (23:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Mar 2022 11:05:31 +0000 (11:05 +0000)
commitb903117b48681e12fae38e09c874f38c45186dc6
treeb3e83847bea3fe5ea52edb5fdd54e5cc01e3c229
parent00f4a0afb7eafdf3dae764ec0c40fe6abfdf8254
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>
drivers/net/mctp/mctp-serial.c