[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170424110405.GE4126@nanopsycho.orion>
Date: Mon, 24 Apr 2017 13:04:05 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Pan Bian <bianpan2016@....com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] team: fix memory leaks
Mon, Apr 24, 2017 at 12:29:16PM CEST, bianpan2016@....com wrote:
>In functions team_nl_send_port_list_get() and
>team_nl_send_options_get(), pointer skb keeps the return value of
>nlmsg_new(). When the call to genlmsg_put() fails, the memory is not
>freed(). This will result in memory leak bugs.
>
>Fixes: 9b00cf2d1024 ("team: implement multipart netlink messages for options transfers")
>Signed-off-by: Pan Bian <bianpan2016@....com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists