* [PATCH] net/mlx5: fix VLAN POP action on switch flow rules
@ 2018-08-02 10:20 Adrien Mazarguil
2018-08-02 12:48 ` Shahaf Shuler
0 siblings, 1 reply; 2+ messages in thread
From: Adrien Mazarguil @ 2018-08-02 10:20 UTC (permalink / raw)
To: Shahaf Shuler; +Cc: dev
TC message for VLAN POP is broken due to an unfinished nested attribute.
Fixes: fdc4d0f4c7e1 ("net/mlx5: add VLAN item and actions to switch flow rules")
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
---
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 8803ffc32..a1c8c340b 100644
--- a/drivers/net/mlx5/mlx5_nl_flow.c
+++ b/drivers/net/mlx5/mlx5_nl_flow.c
@@ -991,6 +991,7 @@ mlx5_nl_flow_transpose(void *buf,
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.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net/mlx5: fix VLAN POP action on switch flow rules
2018-08-02 10:20 [PATCH] net/mlx5: fix VLAN POP action on switch flow rules Adrien Mazarguil
@ 2018-08-02 12:48 ` Shahaf Shuler
0 siblings, 0 replies; 2+ messages in thread
From: Shahaf Shuler @ 2018-08-02 12:48 UTC (permalink / raw)
To: Adrien Mazarguil; +Cc: dev
Thursday, August 2, 2018 1:21 PM, Adrien Mazarguil:
> 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: fdc4d0f4c7e1 ("net/mlx5: add VLAN item and actions to switch flow
> rules")
>
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Applied to next-net-mlx, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-02 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-02 10:20 [PATCH] net/mlx5: fix VLAN POP action on switch flow rules Adrien Mazarguil
2018-08-02 12:48 ` Shahaf Shuler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.