[ovs-git] Open vSwitch: netdev-dummy: Remove FreeBSD dependency. (master)

dev at openvswitch.org dev at openvswitch.org
Sat May 18 15:30: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  7c54c27f204ac9c7870ffab81aeba4d02336553a (commit)
      from  b4ccee7576e5bbc36764b88ad50f5052ecea25be (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 7c54c27f204ac9c7870ffab81aeba4d02336553a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7c54c27f204ac9c7870ffab81aeba4d02336553a
Author: Ben Pfaff <blp at nicira.com>
netdev-dummy: Remove FreeBSD dependency.
There's no particular reason that netdev_dummy_register() has to care about
the particular OS, except that the tests like to use the special Linux-only
tunnel vport types.  But that can be done better, I think, by just always
registering them from netdev_dummy_register() and making that function
idempotent, so that calling it twice under Linux has no additional effect.
This commit implements that solution.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ed Maste <emaste at freebsd.org>


Summary of changes:
 lib/netdev-dummy.c |   10 +---------
 lib/netdev-vport.c |    8 ++++++--
 2 files changed, 7 insertions(+), 11 deletions(-)

Open vSwitch

More information about the git mailing list