[ovs-dev] [fd leak 0/4] Fix fd leak in dpif-linux

Ben Pfaff blp at nicira.com
Thu May 2 00:15:54 UTC 2013


This series fixes a fd leak in the dpif-linux implementation.
The first patch is a simple partial fix suitable for backporting.
The remaining patches are a complete solution.

Ben Pfaff (4):
  dpif-linux: Close channel Netlink sockets when a port number gets
    recycled.
  dpif-linux: Factor out port dumping helper functions.
  dpif-linux: Generalize dpif_linux_recv_set() to synchronize channels.
  dpif-linux: Fix fd leak for vports that disappear from the datapath.

 lib/dpif-linux.c |  167 ++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 125 insertions(+), 42 deletions(-)

-- 
1.7.2.5




More information about the dev mailing list