OSDN Git Service

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)
commitae3b06ed55b1554e9a91bf959c6b0b5e212e7f4d
tree0716b44421ec6eae6739a33321ec4d3eecc3b8df
parent8f6617badcc96a582678ea36ea96490c5ff26eb4
parent29b99f54a8e63f871cf4060406d09fd8b0d744d8
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>