Re: [PATCH net] net: fix spurious TX timeout after dev_activate()

From
Paolo Abeni <pabeni@redhat.com>
Date
2026-08-25 08:47:21
Also in
lkml, stable
Reply to
Nicolai Buchwitz, 2026-08-24
On 8/24/26 5:13 PM, Nicolai Buchwitz wrote:
quoted
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index ef2b4bf515641..4539dc2c6d380 100644
--- a/net/sched/sch_generic.c
+++ b/net/sched/sch_generic.c
@@ -1278,7 +1278,7 @@ static void transition_one_qdisc(struct 
net_device *dev,

 	rcu_assign_pointer(dev_queue->qdisc, new_qdisc);
 	if (need_watchdog_p) {
-		WRITE_ONCE(dev_queue->trans_start, 0);
+		WRITE_ONCE(dev_queue->trans_start, jiffies);
 		*need_watchdog_p = 1;
 	}
 }
Follow up or v2: netif_trans_update() in dev_activate() now seems 
redundant?
IMHO should be a follow-up.

/P
Thread (5 messages) 5 messages, 3 authors, last reply 2026-08-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help