[ovs-git] Open vSwitch: dpif-netdev: allow for proper destruction of netdev datapaths (branch-1.6)

dev at openvswitch.org dev at openvswitch.org
Wed May 16 17:00:38 UTC 2012

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.6 has been updated
       via  4682afa0312f23b597f8c4e984b42b1f1780917e (commit)
      from  cd5c767c542d973191b3d9c05aa1eb4758c1259f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4682afa0312f23b597f8c4e984b42b1f1780917e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4682afa0312f23b597f8c4e984b42b1f1780917e
Author: Giuseppe Lettieri <g.lettieri at iet.unipi.it>
dpif-netdev: allow for proper destruction of netdev datapaths
Until now, bridges with datapath_type=netdev did not destroy the datapath
when deleted. In particular, the tap device implementing the internal
interface was not close()d, and therefore the tap persists until
ovs-vswitchd exit()s.

This behaviour was caused by the missing callback for 'enumerate' in the
dpif-netdev class. Without this callback 'bridge_reconfigure' failed to
realize that there are datapaths with no bridge, and thus cannot destroy
them. Providing an 'enumerate' callback fixes this.

Signed-off-by: Giuseppe Lettieri <g.lettieri at iet.unipi.it>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 AUTHORS           |    1 +
 lib/dpif-netdev.c |   13 ++++++++++++-
 2 files changed, 13 insertions(+), 1 deletions(-)

Open vSwitch

More information about the git mailing list