diff options
author | Simon Horman <horms@verge.net.au> | 2013-05-10 11:00:06 +0900 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-05-10 09:16:34 -0700 |
commit | 500d243dad40ff667710aca1d099d97c38e6a62d (patch) | |
tree | c335e7e0146342359fb496344b0aa01afc2d466d /lib/ofp-util.c | |
parent | be9fa766bc98b5d245d6ace51a2baba1e78ce1c3 (diff) |
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.
output_reg
bundle
reg_move
stack_push
stack_pop
learn
multipath
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@nicira.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/ofp-util.c')
0 files changed, 0 insertions, 0 deletions