route: set missing TCA_ATTR_XSTATS changes flags in rtnl_tc_msg_parse()
Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
b54f6d8023
commit
24ad51518f
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ int rtnl_tc_msg_parse(struct nlmsghdr *n, struct rtnl_tc *tc)
|
|||
tc->tc_xstats = nl_data_alloc_attr(tbs[TCA_STATS_APP]);
|
||||
if (tc->tc_xstats == NULL)
|
||||
return -NLE_NOMEM;
|
||||
tc->ce_mask |= TCA_ATTR_XSTATS;
|
||||
} else
|
||||
goto compat_xstats;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue