]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'sctp_do_bind-leak'
authorDavid S. Miller <davem@davemloft.net>
Fri, 13 Sep 2019 20:06:20 +0000 (22:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Sep 2019 20:06:20 +0000 (22:06 +0200)
commitf5dc207fdcc0ad4dc83b760270443352c80f9398
tree0716b44421ec6eae6739a33321ec4d3eecc3b8df
parentf7fed2218680b52013f5d5b0043ef54cb9706f62
parentee3098db4d3431a36aef3acbe567c70c4e9a4062
Merge branch 'sctp_do_bind-leak'

Mao Wenan says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>