From: Pavel Emelyanov Date: Tue, 17 Jun 2008 22:54:14 +0000 (-0700) Subject: sctp: fix error path in sctp_proc_init X-Git-Tag: v2.6.27-rc1~964^2~304 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d00fb9eb11ac49d4035f756d116deeeaf99a26b;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Acked-by: Vlad Yasevich Signed-off-by: David S. Miller --- diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 23aaffb..98c6a88 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -119,7 +119,7 @@ static __init int sctp_proc_init(void) return 0; out_remaddr_proc_init: - sctp_remaddr_proc_exit(); + sctp_assocs_proc_exit(); out_assocs_proc_init: sctp_eps_proc_exit(); out_eps_proc_init: