[ovs-dev] [bug9769 0/4] unlink sockets on error paths

Ben Pfaff blp at nicira.com
Wed Mar 7 23:46:35 UTC 2012


This was previously posted as a 2-patch series here:
http://openvswitch.org/pipermail/dev/2012-February/015199.html
http://openvswitch.org/pipermail/dev/2012-February/015200.html

In the meantime, some new unit tests have uncovered bugs in the
Python implementation that must be fixed before these patches
can be applied.  This patch series, therefore, includes two
new preparatory commits.

Ben Pfaff (4):
  python socket_util: Don't try to unbind None bind_path.
  python socket_util: Use correct fatal_signal function on error path.
  socket-util: Unlink Unix domain sockets that bind but fail to
    connect.
  stream-unix: Do not bind a name for client sockets.

 lib/socket-util.c         |    4 ++--
 lib/stream-fd.c           |   10 ++--------
 lib/stream-fd.h           |    4 ++--
 lib/stream-tcp.c          |    4 ++--
 lib/stream-unix.c         |   19 +++++--------------
 python/ovs/socket_util.py |    8 ++------
 python/ovs/stream.py      |   18 +++++-------------
 7 files changed, 20 insertions(+), 47 deletions(-)

-- 
1.7.2.5




More information about the dev mailing list