Re: [PATCH v2 net 0/3] fix memory leak for sctp_do_bind

2019-09-13 Thread David Miller
From: Mao Wenan Date: Thu, 12 Sep 2019 12:02:16 +0800 > 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

[PATCH v2 net 0/3] fix memory leak for sctp_do_bind

2019-09-11 Thread Mao Wenan
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