[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190912040219.67517-1-maowenan@huawei.com>
Date: Thu, 12 Sep 2019 12:02:16 +0800
From: Mao Wenan <maowenan@...wei.com>
To: <vyasevich@...il.com>, <nhorman@...driver.com>,
<marcelo.leitner@...il.com>, <davem@...emloft.net>
CC: <linux-sctp@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>,
Mao Wenan <maowenan@...wei.com>
Subject: [PATCH v2 net 0/3] fix memory leak for sctp_do_bind
First two patches are to do cleanup, remove redundant assignment,
and change return type of sctp_get_port_local.
Third patch is to fix memory leak for sctp_do_bind if failed
to bind address.
---
v2: add one patch to change return type of sctp_get_port_local.
---
Mao Wenan (3):
sctp: change return type of sctp_get_port_local
sctp: remove redundant assignment when call sctp_get_port_local
sctp: destroy bucket if failed to bind addr
net/sctp/socket.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
--
2.20.1
Powered by blists - more mailing lists