diff options
author | 2022-03-03 18:15:03 +0100 | |
---|---|---|
committer | 2022-03-04 12:02:19 +0000 | |
commit | 566214f44697c0191b9b6673e3c73116c9b7817f (patch) | |
tree | e362e60e6f191698f972fa6931d72c8d74d79f84 | |
parent | net: ethernet: Use netif_rx(). (diff) | |
download | linux-566214f44697c0191b9b6673e3c73116c9b7817f.tar.gz linux-566214f44697c0191b9b6673e3c73116c9b7817f.tar.bz2 linux-566214f44697c0191b9b6673e3c73116c9b7817f.zip |
net: macvlan: 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>
-rw-r--r-- | drivers/net/macvlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index d87c06c317ed..33753a2fde29 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -285,7 +285,7 @@ static void macvlan_broadcast(struct sk_buff *skb, if (likely(nskb)) err = macvlan_broadcast_one(nskb, vlan, eth, mode == MACVLAN_MODE_BRIDGE) ?: - netif_rx_ni(nskb); + netif_rx(nskb); macvlan_count_rx(vlan, skb->len + ETH_HLEN, err == NET_RX_SUCCESS, true); } |