[ovs-git] Open vSwitch: tunneling: Don't shadow vport when generating cache. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Dec 28 17:39:22 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  ecd859a28313166f042a0181cb27f444e3c4da32 (commit)
      from  8ba43fbd1f14d60a2d097bafc7d0606d860d0f72 (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 ecd859a28313166f042a0181cb27f444e3c4da32
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ecd859a28313166f042a0181cb27f444e3c4da32
Author: Jesse Gross <jesse at nicira.com>
		
tunneling: Don't shadow vport when generating cache.
		
When generating the tunnel header cache we have two vports that we
are working with: the sender and destination.  Unfortunately, both of
these use the name 'vport'.  This renames the destination to avoid
shadowing the sender.  This doesn't actually fix a bug because the
compiler correctly uses the right one, even when shadowed.

Found with sparse.

Reported-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 datapath/tunnel.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list