[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170218163034.3f193429@xeon-e3>
Date: Sat, 18 Feb 2017 16:30:34 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Leon Romanovsky <leon@...nel.org>
Cc: linux-netdev <netdev@...r.kernel.org>,
Leon Romanovsky <leonro@...lanox.com>
Subject: Re: [PATCH iproute2] devlink: Call dl_free in early exit case
On Tue, 14 Feb 2017 07:29:38 +0200
Leon Romanovsky <leon@...nel.org> wrote:
> From: Leon Romanovsky <leonro@...lanox.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@...lanox.com>
> Acked-by: Jiri Pirko <jiri@...lanox.com>
Applied, thanks.
Powered by blists - more mailing lists