sctp: fix error path in sctp_proc_init
authorPavel Emelyanov <xemul@openvz.org>
Tue, 17 Jun 2008 22:54:14 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 22:54:14 +0000 (15:54 -0700)
commit3d00fb9eb11ac49d4035f756d116deeeaf99a26b
treeb1a0da01e540e07dcc5a4697b51bdf1f253191bc
parent48c5732f4ac0621a2fdde006d55a6621a47a728f
sctp: fix error path in sctp_proc_init

After the sctp_remaddr_proc_init failed, the proper rollback is
not the sctp_remaddr_proc_exit, but the sctp_assocs_proc_exit.

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