From: Thomas Haller Date: Mon, 24 Nov 2014 16:19:53 +0000 (+0100) Subject: route: set missing TCA_ATTR_XSTATS changes flags in rtnl_tc_msg_parse() X-Git-Tag: libnl3_2_26rc1~28^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24ad51518f5678d83423e7f446751d8a3c1961c2;p=thirdparty%2Flibnl.git route: set missing TCA_ATTR_XSTATS changes flags in rtnl_tc_msg_parse() Acked-by: Thomas Graf Signed-off-by: Thomas Haller --- diff --git a/lib/route/tc.c b/lib/route/tc.c index 53b69d5..4c92822 100644 --- a/lib/route/tc.c +++ b/lib/route/tc.c @@ -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 {