sctp: Do not leak memory on multiple listen() calls
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 19 Jul 2008 06:06:07 +0000 (23:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jul 2008 06:06:07 +0000 (23:06 -0700)
commit23b29ed80bd7184398317a111dc488605cb66c7f
treebe2d87726f00ebb21d10fc62c2b4ba557a7392eb
parent7dab83de50c7b2b7ceac695a0b56fa6c0f95b0bc
sctp: Do not leak memory on multiple listen() calls

SCTP permits multiple listen call and on subsequent calls
we leak he memory allocated for the crypto transforms.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c