28ffc4bbab
Before this patch, during translation of OF_PUSH_VLAN actions iterator was moved forward to the position of OF_SET_VLAN_VID or OF_SET_VLAN_PCP, but masks iterator was not updated. As a result, the following actions were incorrectly translated, because iterators were not aligned. This patch fixes this behavior by properly adjusting masks iterator alognside actions iterator. Fixes: 773ca0e91ba1 ("net/mlx5: support VLAN push/pop/modify with HWS") Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>