[ovs-git] Open vSwitch: Use updated dl_type when checking actions that use fields (master)

dev at openvswitch.org dev at openvswitch.org
Fri May 10 16:19:31 UTC 2013

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  500d243dad40ff667710aca1d099d97c38e6a62d (commit)
      from  be9fa766bc98b5d245d6ace51a2baba1e78ce1c3 (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 500d243dad40ff667710aca1d099d97c38e6a62d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=500d243dad40ff667710aca1d099d97c38e6a62d
Author: Simon Horman <horms at verge.net.au>
Use updated dl_type when checking actions that use fields
Update handling of the following actions to use the dl_type set by MPLS
push and pop actions if it differs from the original dl_type. This is
consistent with the existing checking of load actions and allows
their existing checks to enforce dl_type pre-requisites correctly.


In order to avoid the verbosity of updating the flow for each applicable
action the update is treated as a common case and performed in
ofpact_check().  This was suggested by Jesse Gross.

Cc: Jesse Gross <jesse at nicira.com>
Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Jesse Gross <jesse at nicira.com>


Summary of changes:
 lib/ofp-actions.c |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

Open vSwitch

More information about the git mailing list