[ovs-git] Open vSwitch: netdev-vport: Don't use ipsec options for either arg in config_equal_ipsec(). (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jun 17 01:29:51 UTC 2011


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  7211b387b752ce2c67f1aee639bccc8bd0500c48 (commit)
      from  5b95ab0edf18e44d6624c8aa98b658df2fbb48f2 (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 7211b387b752ce2c67f1aee639bccc8bd0500c48
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7211b387b752ce2c67f1aee639bccc8bd0500c48
Author: Justin Pettit <jpettit at nicira.com>
		
netdev-vport: Don't use ipsec options for either arg in config_equal_ipsec().
		
Commit aebf423 (netdev: Add methods to do netdev-specific argument
comparisons.) added a new config_equal_ipsec() function to ignore
IPsec key options when comparing an existing netdev's options with a new
netdev.  We only ignored the options for the new netdev configuration,
which works when pulling the existing configuration from the kernel.
Unfortunately, if this is just a re-init of a netdev for which we just
created, this ignoring of the IPsec key options on the new netdev will
cause the check to fail, since the full options actually available in
both netdevs.  This commit just ignore all IPsec key options from both
netdevs.


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

Summary of changes:
 lib/netdev-vport.c |   29 ++++++++++++++++++-----------
 1 files changed, 18 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list