From 16ed22ba14ca4bdfa415626fdf76d3354bb5ffdb Mon Sep 17 00:00:00 2001 From: Adrien Mazarguil Date: Thu, 2 Aug 2018 12:20:51 +0200 Subject: [PATCH] net/mlx5: fix VLAN pop action on switch flow rules TC message for VLAN POP is broken due to an unfinished nested attribute. Fixes: 7ac6778d50e0 ("net/mlx5: add VLAN item and actions to switch flow rules") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5_nl_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx5/mlx5_nl_flow.c b/drivers/net/mlx5/mlx5_nl_flow.c index 8803ffc329..a1c8c340bd 100644 --- a/drivers/net/mlx5/mlx5_nl_flow.c +++ b/drivers/net/mlx5/mlx5_nl_flow.c @@ -991,6 +991,7 @@ action_of_vlan: goto error_nobufs; if (i == TCA_VLAN_ACT_POP) { mnl_attr_nest_end(buf, act); + mnl_attr_nest_end(buf, act_index); ++action; break; } -- 2.20.1