[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170425.113558.689750765066812978.davem@davemloft.net>
Date: Tue, 25 Apr 2017 11:35:58 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bianpan2016@....com
Cc: jiri@...nulli.us, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] team: fix memory leaks
From: Pan Bian <bianpan2016@....com>
Date: Mon, 24 Apr 2017 18:29:16 +0800
> 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>
Applied, thanks.
Powered by blists - more mailing lists