git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb19f1f
)
net/mlx5: fix VLAN pop action on switch flow rules
author
Adrien Mazarguil
<adrien.mazarguil@6wind.com>
Thu, 2 Aug 2018 10:20:51 +0000
(12:20 +0200)
committer
Shahaf Shuler
<shahafs@mellanox.com>
Thu, 2 Aug 2018 11:47:57 +0000
(13:47 +0200)
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 <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_nl_flow.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5_nl_flow.c
b/drivers/net/mlx5/mlx5_nl_flow.c
index
8803ffc
..
a1c8c34
100644
(file)
--- 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;
}