From: Vlad Buslov <vla...@nvidia.com>

The commit that enabled 'no_percpu' flag for compatible actions missed the
tunnel_key release action code. Add missing call to nl_msg_put_act_flags().

Fixes: 292d5bd9bb34 ("tc: Set 'no_percpu' flag for compatible actions")
Reported-by: Marcelo Ricardo Leitner <mleit...@redhat.com>
Signed-off-by: Vlad Buslov <vla...@nvidia.com>
Reviewed-by: Roi Dayan <r...@nvidia.com>
---
 lib/tc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/tc.c b/lib/tc.c
index 33287ea05e7a..38a1dfc0ebc8 100644
--- a/lib/tc.c
+++ b/lib/tc.c
@@ -2638,6 +2638,7 @@ nl_msg_put_flower_acts(struct ofpbuf *request, struct 
tc_flower *flower)
                 if (!released && flower->tunnel) {
                     act_offset = nl_msg_start_nested(request, act_index++);
                     nl_msg_put_act_tunnel_key_release(request);
+                    nl_msg_put_act_flags(request);
                     nl_msg_end_nested(request, act_offset);
                     released = true;
                 }
-- 
2.8.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to