lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ