[ovs-git] Open vSwitch: ofproto/xlate: Fix set field unwildcarding. (branch-2.1)

dev at openvswitch.org dev at openvswitch.org
Wed Apr 9 20:02:27 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, branch-2.1 has been updated
       via  97a4b006b64955a81874e874e8c7848ff73d61e4 (commit)
       via  211f364ae8449634369b2e9e65df02fb74081f7b (commit)
      from  276b850335ae736957ad38d3eec8463185b1247d (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 97a4b006b64955a81874e874e8c7848ff73d61e4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=97a4b006b64955a81874e874e8c7848ff73d61e4
Author: Jarno Rajahalme <jrajahalme at nicira.com>
ofproto/xlate: Fix set field unwildcarding.
If the field does not exist, nothing is set.  However, we must
unwildcard the bits we used to make the decision, and we need not
unwildcard the field and it's prerequisities, if nothing is set.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>

commit 211f364ae8449634369b2e9e65df02fb74081f7b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=211f364ae8449634369b2e9e65df02fb74081f7b
Author: Simon Horman <horms at verge.net.au>
ofproto-dpif-xlate: Correct check for MPLS LSE
zero is a valid MPLS LSE so it is not valid check against
that value for MPLS LSE presence. Instead, check against
the flow's dl_type which should be an MPLS type if an LSE is present.

This problem appears to have been introduced by
b2dd70be133bf86c ("Native Set-Field action.").

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:
 ofproto/ofproto-dpif-xlate.c |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

Open vSwitch

More information about the git mailing list