From: David Miller <davem@davemloft.net>
To: f.fainelli@gmail.com
Cc: netdev@vger.kernel.org, mail@pheise.de, peter.heise@airbus.com,
arvid.brodin@alten.se, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] net/hsr: Check skb_put_padto() return value
Date: Tue, 22 Aug 2017 13:49:43 -0700 (PDT) [thread overview]
Message-ID: <20170822.134943.186346483000054388.davem@davemloft.net> (raw)
In-Reply-To: <20170821195910.28752-1-f.fainelli@gmail.com>
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Mon, 21 Aug 2017 12:59:10 -0700
> skb_put_padto() will free the sk_buff passed as reference in case of
> errors, but we still need to check its return value and decide what to
> do.
>
> Detected by CoverityScan, CID#1416688 ("CHECKED_RETURN")
>
> Fixes: ee1c27977284 ("net/hsr: Added support for HSR v1")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Applied, thanks.
prev parent reply other threads:[~2017-08-22 20:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-21 19:59 [PATCH net] net/hsr: Check skb_put_padto() return value Florian Fainelli
2017-08-22 20:49 ` David Miller [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=20170822.134943.186346483000054388.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=arvid.brodin@alten.se \
--cc=f.fainelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mail@pheise.de \
--cc=netdev@vger.kernel.org \
--cc=peter.heise@airbus.com \
/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;
as well as URLs for NNTP newsgroup(s).