[PATCH net 0/2] fix memory leak for sctp_do_bind

From: Mao Wenan
Date: Tue Sep 10 2019 - 02:56:28 EST


First patch is to do cleanup, remove redundant assignment,
second patch is to fix memory leak for sctp_do_bind if failed
to bind address.

Mao Wenan (2):
sctp: remove redundant assignment when call sctp_get_port_local
sctp: destroy bucket if failed to bind addr

net/sctp/socket.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

--
2.20.1