[ovs-dev] [PATCH branch-2.8 1/1] tc flower: reorder tunnel encap/decap actions

Simon Horman horms at verge.net.au
Fri Jan 26 08:04:01 UTC 2018


On Thu, Jan 25, 2018 at 03:23:21PM +0000, John Hurley wrote:
> The tc_flower conversion struct does not consider the order of actions.
> If an OvS rule matches on a tunnel (decap) and outputs to a new tunnel,
> the netlink conversion to TC will add the set tunnel key action before the
> unset, leading to an incorrect TC rule. This patch reorders the netlink
> generation to ensure a decap is done before an encap if both exist.
> 
> Patch was committed to master. Backport to branch 2.8 requested by Simon
> Horman.
> 
> Signed-off-by: John Hurley <john.hurley at netronome.com>
> Reviewed-by: Simon Horman <simon.horman at netronome.com>

Thanks John, applied to branch-2.8.


More information about the dev mailing list