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:19 +0000 (16:40 -0800)
commit4ce07c787650c63abd50da8aeb04045c01c4b8cd
treeabf7bfcfac0a2c7fd270ef46e037c93f44cbfe22
parentc1ba7cee855c98244bb283f6cf3a458d30119640
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