From: Stephen Hemminger <stephen@networkplumber•org>
To: Leon Romanovsky <leon@kernel•org>
Cc: linux-netdev <netdev@vger•kernel.org>,
Leon Romanovsky <leonro@mellanox•com>
Subject: Re: [PATCH iproute2] devlink: Call dl_free in early exit case
Date: Sat, 18 Feb 2017 16:30:34 -0800 [thread overview]
Message-ID: <20170218163034.3f193429@xeon-e3> (raw)
In-Reply-To: <20170214052938.16727-1-leon@kernel.org>
On Tue, 14 Feb 2017 07:29:38 +0200
Leon Romanovsky <leon@kernel•org> wrote:
> From: Leon Romanovsky <leonro@mellanox•com>
>
> Prior to parsing command options, the devlink tool allocates memory
> to store results. In case of early exit (wrong parameters or version
> check), this memory wasn't freed.
>
> Signed-off-by: Leon Romanovsky <leonro@mellanox•com>
> Acked-by: Jiri Pirko <jiri@mellanox•com>
Applied, thanks.
prev parent reply other threads:[~2017-02-19 0:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 5:29 [PATCH iproute2] devlink: Call dl_free in early exit case Leon Romanovsky
2017-02-19 0:30 ` Stephen Hemminger [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=20170218163034.3f193429@xeon-e3 \
--to=stephen@networkplumber$(echo .)org \
--cc=leon@kernel$(echo .)org \
--cc=leonro@mellanox$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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