Files
linux-stable-mirror/include/linux
Stanislav Fomichev d90b85c23b net: add retry mechanism to ndo_set_rx_mode_async
When ndo_set_rx_mode_async returns an error, schedule a retry with
exponential backoff (1s, 2s, 4s, 8s -- 15s total). Give up after the
4th retry and log an error via netdev_err().

This moves retry logic from individual drivers into the core stack.

Timer callback does not hold a ref on dev. Safe because the timer can
only be armed when dev is IFF_UP, and __dev_close_many runs
timer_delete_sync before clearing IFF_UP. Unregister always closes
IFF_UP devices first, so by the time dev can be freed the timer is
dead and cannot be re-armed.

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20260608154014.227538-3-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-06-09 18:15:30 -07:00
..
2026-05-21 13:04:42 +02:00
2026-05-06 19:18:45 -07:00
2026-05-28 17:45:46 -07:00
2026-05-19 17:26:07 +02:00
2026-06-05 17:46:17 -07:00
2026-04-20 11:35:17 -07:00
2026-05-05 16:12:07 +08:00