mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 10:57:56 +04:00
The TX timeout recovery is now performed from a workqueue under RTNL, which serializes it against MTU changes. The driver no longer needs to use its spinlock to prevent the timeout recovery from reprogramming the packet length and RX ring limits concurrently with ndo_change_mtu(). Remove the spinlock from rteth_change_mtu() and update the corresponding comment. Assisted-by: ChatGPT (OpenAI GPT-5.6 Sol) Link: https://github.com/openwrt/openwrt/pull/24874 Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>