[ovs-git] Open vSwitch: netdev-dummy: Include all dummy classes in iterations. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Aug 12 20:49:24 UTC 2013


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  5e1de67fa16019acac301dd410ead42833dc3256 (commit)
      from  bbc13389e0385d24a6ba1c56b15baabdc5ef7b19 (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 5e1de67fa16019acac301dd410ead42833dc3256
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5e1de67fa16019acac301dd410ead42833dc3256
Author: Ben Pfaff <blp at nicira.com>
		
netdev-dummy: Include all dummy classes in iterations.
		
Commit 86f1d0326bd0 (netdev-dummy: Use netdev_get_devices() instead of a
local shash.) caused netdev-dummy functions that iterate over all dummy
devices to iterate only over the ones that have class 'dummy_class'.  This
seemed to obviously include all the ones that we want, but in fact
when ovs-vswitch is invoked with --enable-dummy=override, there are more
dummy classes than just dummy_class, which this new form of iteration
skipped over, with various negative consequences that showed up in some
testing.

This commit switches netdev-dummy back to internally tracking its own
dummy devices.  It fixes the tests for me.

Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/netdev-dummy.c |   61 ++++++++++++++++++++++++++--------------------------
 1 file changed, 31 insertions(+), 30 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list