[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190124094332.33d5c67a@shemminger-XPS-13-9360>
Date: Thu, 24 Jan 2019 09:43:32 +1300
From: Stephen Hemminger <stephen@...workplumber.org>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: netdev@...r.kernel.org, Jamal Hadi Salim <jhs@...atatu.com>,
Jiri Pirko <jiri@...nulli.us>, David Ahern <dsahern@...il.com>
Subject: Re: [Patch iproute2] tc: add performance counters for basic filter
On Tue, 22 Jan 2019 22:41:45 -0800
Cong Wang <xiyou.wangcong@...il.com> wrote:
> + if (tb[TCA_BASIC_PCNT]) {
> + if (RTA_PAYLOAD(tb[TCA_BASIC_PCNT]) < sizeof(*pf)) {
> + fprintf(f, "Broken perf counters\n");
> + return -1;
Errors should go to stderr not f (which is stdout).
Powered by blists - more mailing lists