]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: usb: r8152: fix transmit queue timeout
authorMingj Ye <insyelu@gmail.com>
Tue, 20 Jan 2026 01:59:49 +0000 (09:59 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Jan 2026 02:27:32 +0000 (18:27 -0800)
commit833dcd75d54f0bf5aa0a0781ff57456b421fbb40
tree12f66b998c56225fcd06096624bee7441e40492c
parent1802e9079f65cbe47d90d048b06df650a91407f4
net: usb: r8152: fix transmit queue timeout

When the TX queue length reaches the threshold, the netdev watchdog
immediately detects a TX queue timeout.

This patch updates the trans_start timestamp of the transmit queue
on every asynchronous USB URB submission along the transmit path,
ensuring that the network watchdog accurately reflects ongoing
transmission activity.

Signed-off-by: Mingj Ye <insyelu@gmail.com>
Reviewed-by: Hayes Wang <hayeswang@realtek.com>
Link: https://patch.msgid.link/20260120015949.84996-1-insyelu@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/r8152.c