[ovs-dev] [PATCH] ofp-actions: Correct execution of encap/decap actions in action set
jan.scheurich at ericsson.com
Tue Apr 3 21:29:41 UTC 2018
> -----Original Message-----
> From: Ben Pfaff [mailto:blp at ovn.org]
> Sent: Tuesday, 03 April, 2018 20:36
> On Mon, Mar 26, 2018 at 09:36:27AM +0200, Jan Scheurich wrote:
> > The actions encap, decap and dec_nsh_ttl were wrongly flagged as set_field
> > actions in ofpact_is_set_or_move_action(). This caused them to be executed
> > twice in the action set or a group bucket, once explicitly in
> > ofpacts_execute_action_set() and once again as part of the list of
> > set_field or move actions.
> > Fixes: f839892a ("OF support and translation of generic encap and decap")
> > Fixes: 491e05c2 ("nsh: add dec_nsh_ttl action")
> > Signed-off-by: Jan Scheurich <jan.scheurich at ericsson.com>
> > ---
> > The fix should be backported to OVS 2.9 and OVS 2.8 (without the case
> > for OFPACT_DEC_NSH_TTL introduced in 2.9).
> Thanks, I applied this to master and backported to branch-2.9 and
> I want to encourage you to add a test that uses one or both of these
> actions in an action set, so that we get some test coverage.
Will do when I find the time. I thought about that but didn't want to delay the fix.
More information about the dev