[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4857AE19.9050708@openvz.org>
Date: Tue, 17 Jun 2008 16:29:13 +0400
From: Pavel Emelyanov <xemul@...nvz.org>
To: Vlad Yasevich <vladislav.yasevich@...com>,
David Miller <davem@...emloft.net>
CC: linux-sctp@...r.kernel.org,
Linux Netdev List <netdev@...r.kernel.org>
Subject: [PATCH] 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@...nvz.org>
---
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:
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists