socket-util: Unlink Unix domain sockets that bind but fail to connect.
authorBen Pfaff <blp@nicira.com>
Mon, 27 Feb 2012 18:58:45 +0000 (10:58 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 8 Mar 2012 00:40:15 +0000 (16:40 -0800)
commit522f8f6ff0af5eb56197adb309cf56b4800756f8
tree40f65c7edd747e8f7361616a478de004ba5b9f1b
parent3cd3869da305d4e9e7139b235f5901e018bb1c07
socket-util: Unlink Unix domain sockets that bind but fail to connect.

The error handling path here failed to clean up bound sockets, by removing
them.  This fixes the problem.

It was easy to observe this bug by running "ovs-vsctl" without
"ovsdb-server" running.

Bug #9811.
Bug #9769.
Reported-by: Michael <mhu@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/socket-util.c