diff options
author | Sebastian Andrzej Siewior | 2022-03-06 22:57:46 +0100 |
---|---|---|
committer | David S. Miller | 2022-03-07 11:40:40 +0000 |
commit | 3d391f6518fddcd44367d463aa20a50145f3ea3f (patch) | |
tree | bc613faaa48401aca6a7609b7e4a57fc358ae149 /drivers/net/tun.c | |
parent | 4bcc4249b4cf4df17429a5299c456ba9e76de779 (diff) |
tun: vxlan: 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 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index bab92e489fba..2b9a22669a12 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1984,7 +1984,7 @@ drop: } else if (!IS_ENABLED(CONFIG_4KSTACKS)) { tun_rx_batched(tun, tfile, skb, more); } else { - netif_rx_ni(skb); + netif_rx(skb); } rcu_read_unlock(); |