mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2024-11-30 21:50:54 +00:00
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
@ -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…
Reference in New Issue
Block a user