diff options
| author | Ivan Gulakov <gulakov@amazon.de> | 2025-01-07 13:45:03 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-01-13 12:42:34 +0000 |
| commit | 3f6ed5888bda84980406819a976c6c8155e89c58 (patch) | |
| tree | a959a9d7fd155bb1726ef14aab4a995cf7f1b420 /executor | |
| parent | 249ceea9b77a9eda26fb696c50b673d6f295d7f4 (diff) | |
vm: fix deadlock in UnusedTCPPort
If localhost is not configured on a system, UnusedTCPPort will loop
forever without producing any errors. By checking EADDRINUSE and ENOACC
and then skipping only in these cases, we'd avoid at least the mentioned
deadlock.
On top of this, this change should catch other errors without locking,
like other DNS errors and so on.
Signed-off-by: Ivan Gulakov <gulakov@amazon.de>
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
