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

dev at openvswitch.org dev at openvswitch.org
Wed May 16 17:00:33 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.7 has been updated
       via  fda1b93b2e3ac564c3338d9af4e4d9d06e58ce38 (commit)
      from  403471681dbde8ceb21124137eefc309a71d510d (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 fda1b93b2e3ac564c3338d9af4e4d9d06e58ce38
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=fda1b93b2e3ac564c3338d9af4e4d9d06e58ce38
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