]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sctp: fix memory leak of the ASCONF queue when free asoc
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 24 May 2011 21:48:02 +0000 (21:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 May 2011 21:55:32 +0000 (17:55 -0400)
commit8b4472cc13136d04727e399c6fdadf58d2218b0a
treecad3cdcca69d8a701558386fef36f2f158a570a5
parentf11970e383acd6f505f492f1bc07fb1a4d884829
sctp: fix memory leak of the ASCONF queue when free asoc

If an ASCONF chunk is outstanding, then the following ASCONF
chunk will be queued for later transmission. But when we free
the asoc, we forget to free the ASCONF queue at the same time,
this will cause memory leak.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c