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

Paolo Abeni <[email protected]>
Newsgroups org.kernel.vger.stable,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
On 8/24/26 5:13 PM, Nicolai Buchwitz wrote:
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.