[CRIU] [PATCH cr] socket_listen: add workaround for EADDRINUSE

Andrey Vagin avagin at openvz.org
Tue Feb 7 02:54:49 EST 2012


crtools doesn't restore sockopts, so if a test is executed in
a second time bind() may return EADDRINUSE

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm/live/static/socket_listen.c |   29 +++++++++++++++++++++--------
 1 files changed, 21 insertions(+), 8 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-socket_listen-add-workaround-for-EADDRINUSE.patch
Type: text/x-patch
Size: 1994 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120207/27bbd0d4/0001-socket_listen-add-workaround-for-EADDRINUSE-0001.bin


More information about the CRIU mailing list