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

dev at openvswitch.org dev at openvswitch.org
Wed May 16 16:54:21 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, master has been updated
       via  2197d7abab6d765013399790d11290562a583b71 (commit)
      from  e6c5e5390395a2ef19676319caa97b4e5a6942e2 (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 2197d7abab6d765013399790d11290562a583b71
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2197d7abab6d765013399790d11290562a583b71
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(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list