From: Jiri Pirko <jiri@resnulli.us>
To: Colin Ian King <colin.king@canonical.com>
Cc: Jiri Pirko <jiri@mellanox.com>,
Jamal Hadi Salim <jhs@mojatatu.com>,
"David S. Miller" <davem@davemloft.net>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: sched: check negative err value to safe one level of indent
Date: Tue, 14 Feb 2017 16:20:34 +0100 [thread overview]
Message-ID: <20170214152034.GB7671@nanopsycho> (raw)
In-Reply-To: <295e658c-d36b-94da-2efe-fb3cf72cc176@canonical.com>
Tue, Feb 14, 2017 at 04:10:13PM CET, colin.king@canonical.com wrote:
>Jiro,
>
>A recent static analysis run with CoverityScan identified a potential
>change in functionality with your recent commit "sched: check negative
>err value to safe one level of indent" that landed in linux-next.
>
>The original path for case RTM_DELTFILTER would always goto errout, but
>your commit seems to goto errout only if err is non-zero zero and the
>err == 0 path falls through to the RTM_GETTFILTER case. I'm not sure if
>this is an intentional change in behaviour. From what I can make out,
>there is a missing goto errout before the fall-through to RTM_GETTFILTER.
Will fix. Thanks.
>
>Colin
prev parent reply other threads:[~2017-02-14 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 15:10 sched: check negative err value to safe one level of indent Colin Ian King
2017-02-14 15:20 ` Jiri Pirko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170214152034.GB7671@nanopsycho \
--to=jiri@resnulli.us \
--cc=colin.king@canonical.com \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=jiri@mellanox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox