1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/ipvs
Flavio Crisciani 6736b223ec Set socket timeout on netlink sockets
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>
2017-12-04 09:40:27 -08:00
..
constants.go Initial Checkin GetServices and GetDestinations 2017-05-20 01:59:44 +05:30
ipvs.go Set socket timeout on netlink sockets 2017-12-04 09:40:27 -08:00
ipvs_test.go support flush services API 2017-09-03 16:04:16 +08:00
netlink.go Set socket timeout on netlink sockets 2017-12-04 09:40:27 -08:00