Message ID | 20200412060854.334895-1-leon@kernel.org |
---|---|
State | Superseded |
Headers | show |
Series | [net,v1] 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..185f03db3d55 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_err_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,