diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-03-07 00:57:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-07 14:40:40 +0300 |
commit | 3d391f6518fddcd44367d463aa20a50145f3ea3f (patch) | |
tree | bc613faaa48401aca6a7609b7e4a57fc358ae149 /drivers/net/tun.c | |
parent | 4bcc4249b4cf4df17429a5299c456ba9e76de779 (diff) | |
download | linux-3d391f6518fddcd44367d463aa20a50145f3ea3f.tar.xz |
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(); |