Message ID | 1562489628-5925-2-git-send-email-paulb@mellanox.com |
---|---|
State | Superseded |
Delegated to: | David Ahern |
Headers | show |
Series | net/sched: Introduce tc connection tracking | expand |
diff --git a/tc/m_action.c b/tc/m_action.c index ab6bc0a..2d36a69 100644 --- a/tc/m_action.c +++ b/tc/m_action.c @@ -214,7 +214,8 @@ done0: tail = addattr_nest(n, MAX_MSG, ++prio); addattr_l(n, MAX_MSG, TCA_ACT_KIND, k, strlen(k) + 1); - ret = a->parse_aopt(a, &argc, &argv, TCA_ACT_OPTIONS, + ret = a->parse_aopt(a, &argc, &argv, + TCA_ACT_OPTIONS | NLA_F_NESTED, n); if (ret < 0) {
Strict netlink validation now requires this flag on all nested attributes, add it for action options. Signed-off-by: Paul Blakey <paulb@mellanox.com> --- tc/m_action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)