1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Netlink: fix occasional netlink hangs on busy machines

This commit is contained in:
Jan Moskyto Matejka
2016-12-20 20:13:08 +01:00
parent 7d95c44572
commit 2c33da5070
2 changed files with 3 additions and 1 deletions

View File

@@ -2238,7 +2238,8 @@ io_loop(void)
if (pfd[s->index].revents & (POLLHUP | POLLERR))
{
sk_err(s, pfd[s->index].revents);
goto next2;
if (s != current_sock)
goto next2;
}
current_sock = sk_next(s);