sctp: fix crash during module unload
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 2 Mar 2009 06:46:50 +0000 (06:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2009 06:27:38 +0000 (22:27 -0800)
commitd1dd524785e30cf3d64d395d829b207376acb0aa
tree8a644aa38a2ce3b46738b41ee229aef08c9db691
parent52c0326beaa3cb0049d0f1c51c6ad5d4a04e4430
sctp: fix crash during module unload

An extra list_del() during the module load failure and unload
resulted in a crash with a list corruption.  Now sctp can
be unloaded again.

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