[ovs-git] Open vSwitch: ofp-actions: Correct pop MPLS ethtype as consistency test (master)

dev at openvswitch.org dev at openvswitch.org
Wed Feb 19 21:37:31 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  b3f2fc93e3f357f8d05a92f53ec253339a40887f (commit)
      from  95a93307cb10d9ddb2c4c99a5e2055883371020a (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 b3f2fc93e3f357f8d05a92f53ec253339a40887f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b3f2fc93e3f357f8d05a92f53ec253339a40887f
Author: Simon Horman <horms at verge.net.au>
ofp-actions: Correct pop MPLS ethtype as consistency test
Correct pop MPLS ethtype consistency check to verify that
the packet has an MPLS ethtype before the pop action rather than after:
an MPLS ethtype is a pre-condition but not a post-condition of pop MPLS.

With this change the consistency check in ofpact_check__()
becomes consistent with that in ofpact_from_nxast().

This was found using Ryu tests via the new make check-ryu target.
It allows all of the "POP_MPLS"[1] tests to pass where they previously

[1] http://osrg.github.io/ryu-certification/switch/ovs

Cc: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 lib/ofp-actions.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Open vSwitch

More information about the git mailing list