[ovs-git] Open vSwitch: vswitchd: Reset ofport columns of invalid interfaces to -1. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Oct 22 22:00:01 UTC 2010


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  bcd49a457fc7586f6bb496e71aec7a7564a271f1 (commit)
      from  23a98ffed7f9bb5b4e0f196a0f085e1fdd3029b5 (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 bcd49a457fc7586f6bb496e71aec7a7564a271f1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bcd49a457fc7586f6bb496e71aec7a7564a271f1
Author: Ben Pfaff <blp at nicira.com>
		
vswitchd: Reset ofport columns of invalid interfaces to -1.
		
Until now, when ovs-vswitchd dropped interfaces because of duplicate names,
it would not write -1 to the ofport column in the OVSDB record for the
interface, which made it appear that the interface was still active (if
it had been before).  This commit fixes the problem.

This commit also sets ofport to -1 for interfaces that cannot be created
for other reasons.


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

Summary of changes:
 vswitchd/bridge.c |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list