[ovs-git] Open vSwitch: odp-util: Fix VLAN parsing behavior in parse_8021q_onward(). (master)

dev at openvswitch.org dev at openvswitch.org
Thu Mar 20 21:13:36 UTC 2014


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  3e634810dac461f2e0dbfef0d0134ed5471c7a38 (commit)
      from  6d328fa23ddf5c752ac1583c1bf5b2ebf433e813 (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 3e634810dac461f2e0dbfef0d0134ed5471c7a38
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3e634810dac461f2e0dbfef0d0134ed5471c7a38
Author: Ben Pfaff <blp at nicira.com>
		
odp-util: Fix VLAN parsing behavior in parse_8021q_onward().
		
Anytime there is a VLAN the flow needs to properly reflect that.  Keeping
the TPID in dl_type never makes sense and will probably cause problems.
The existing code did the right thing in the common case but not in corner
cases where it returned ODP_FIT_TOO_MUCH or ODP_FIT_TOO_LITTLE (the cases
where it returned an error don't matter since nothing looks at the flow
in that case).

Found by inspection.

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


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

Summary of changes:
 lib/odp-util.c |   48 ++++++++++++++++++++++--------------------------
 1 file changed, 22 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list