Files
Rob Murray 3ca9a3be70 Add nlutil functions to retry on netlink EINTR
A recent change to the vishvananda/netlink package exposes
NLM_F_DUMP_INTR in some netlink responses as an EINTR (with
no data).

Retry the requests when that happens, up to five times, before
returning the error. The limit of five is arbitrary, on most
systems a single retry will be rare but, there's no guarantee
that a retry will succeed. So, on a very busy or misbehaving
system the error may still be returned. In most cases, this
will lead to failure of the operation being attempted (which
may lead to daemon startup failure, network initialisation
failure etc).

Signed-off-by: Rob Murray <rob.murray@docker.com>
(cherry picked from commit 00bf437d84)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-12-19 11:28:33 +01:00
..
2024-09-11 15:36:28 +01:00
2024-09-11 15:36:28 +01:00
2024-09-11 15:36:28 +01:00
2024-09-11 15:36:28 +01:00
2024-09-11 15:36:28 +01:00
2024-09-11 15:36:28 +01:00
2024-08-14 19:33:32 +02:00