We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dbe4c5 commit 0ad6f6eCopy full SHA for 0ad6f6e
net/core/dev.c
@@ -4192,10 +4192,12 @@ int dev_direct_xmit(struct sk_buff *skb, u16 queue_id)
4192
4193
local_bh_disable();
4194
4195
+ dev_xmit_recursion_inc();
4196
HARD_TX_LOCK(dev, txq, smp_processor_id());
4197
if (!netif_xmit_frozen_or_drv_stopped(txq))
4198
ret = netdev_start_xmit(skb, dev, txq, false);
4199
HARD_TX_UNLOCK(dev, txq);
4200
+ dev_xmit_recursion_dec();
4201
4202
local_bh_enable();
4203
net/core/sock.c
@@ -718,7 +718,7 @@ bool sk_mc_loop(struct sock *sk)
718
return inet6_sk(sk)->mc_loop;
719
#endif
720
}
721
- WARN_ON(1);
+ WARN_ON_ONCE(1);
722
return true;
723
724
EXPORT_SYMBOL(sk_mc_loop);
0 commit comments