]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff3603b8b4a57578607a11c29470d3a866aef246
tree8a644aa38a2ce3b46738b41ee229aef08c9db691
parent2d36c54a73a6c26f60a25a29a240cc3795cb73a8
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