diff options
author | Maria Matejka <mq@ucw.cz> | 2022-10-04 13:20:04 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-10-05 16:33:34 +0200 |
commit | 4d687d7aecb2bc4b695d26418bc761acb1d15c76 (patch) | |
tree | 1f2ff2842dd2902fc52b635df784aadd1edafe76 /sysdep/unix/io-loop.c | |
parent | 1e01721525032bf3608aa457cafde58543b8a977 (diff) |
Fixed previously untested paths in RPKI
Diffstat (limited to 'sysdep/unix/io-loop.c')
-rw-r--r-- | sysdep/unix/io-loop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/io-loop.c b/sysdep/unix/io-loop.c index dbca36e9..b588b736 100644 --- a/sysdep/unix/io-loop.c +++ b/sysdep/unix/io-loop.c @@ -252,6 +252,9 @@ sk_start(sock *s) static void sockets_remove(struct birdloop *loop, sock *s) { + if (!enlisted(&s->n)) + return; + rem_node(&s->n); loop->sock_num--; |