mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
Merge branch 'net-add-retry-mechanism-to-ndo_set_rx_mode_async'
Stanislav Fomichev says: ==================== net: add retry mechanism to ndo_set_rx_mode_async Original async ndo_set_rx_mode work left one place where we do netdev_WARN in response to a ENOMEM. The intent was to see whether actual real users can hit that (adding uc/mc under memory pressure seems like a very unlikely thing to do). However, it was quickly triggered by syzbot's failslab. Add a retry mechanism and downgrade netdev_WARN to netdev_err. The retry logic is a typical exponential backoff: 1, 2, 4, 8 seconds, 15 in total, hopefully enough for a system to resolve memory pressure. ==================== Link: https://patch.msgid.link/20260608154014.227538-1-sdf@fomichev.me Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
61abe5db23
13 changed files with 116 additions and 57 deletions
Loading…
Add table
Add a link
Reference in a new issue