Message ID | 20200402152336.538433-1-leon@kernel.org |
---|---|
State | New |
Headers | show |
Series | [net] net/sched: Don't print dump stack in event of transmission timeout | expand |
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 6c9595f1048a..c12530fe8b21 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c @@ -439,8 +439,9 @@ static void dev_watchdog(struct timer_list *t) if (some_queue_timedout) { trace_net_dev_xmit_timeout(dev, i); - WARN_ONCE(1, KERN_INFO "NETDEV WATCHDOG: %s (%s): transmit queue %u timed out\n", - dev->name, netdev_drivername(dev), i); + pr_info_once("NETDEV WATCHDOG: %s (%s): transmit queue %u timed out\n", + dev->name, + netdev_drivername(dev), i); dev->netdev_ops->ndo_tx_timeout(dev, i); } if (!mod_timer(&dev->watchdog_timer,