Skip to content

Conversation

@fcrisciani
Copy link

Master PR: #1976

This vendor a fork of the netlink library that holds only the required changes for setting the netlink timeouts.
Before this change on network deletion the watchMiss go routine remains stuck on the syscall recv and leak 1 go routine and 1 thread that is executing the syscall

Flavio Crisciani added 2 commits January 4, 2018 09:46
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
In case the file descriptor of the netlink socket is closed
the recvfrom is not returning. This may create deadlock conditions.
The current solution is to make sure that all the netlink socket used
have a proper timeout set on them to have the possibility to return

Added test to emulate the watchMiss condition

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
(cherry picked from commit df66002)
@fcrisciani fcrisciani requested a review from mavenugo January 4, 2018 17:55
Copy link
Contributor

@mavenugo mavenugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mavenugo mavenugo merged commit 425f967 into moby:bump_17.06 Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants