diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-06-17 18:54:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-17 18:54:14 -0400 |
commit | 3d00fb9eb11ac49d4035f756d116deeeaf99a26b (patch) | |
tree | b1a0da01e540e07dcc5a4697b51bdf1f253191bc /net/sctp/protocol.c | |
parent | 48c5732f4ac0621a2fdde006d55a6621a47a728f (diff) |
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>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 23aaffb97ca3..98c6a882016a 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -119,7 +119,7 @@ static __init int sctp_proc_init(void) | |||
119 | return 0; | 119 | return 0; |
120 | 120 | ||
121 | out_remaddr_proc_init: | 121 | out_remaddr_proc_init: |
122 | sctp_remaddr_proc_exit(); | 122 | sctp_assocs_proc_exit(); |
123 | out_assocs_proc_init: | 123 | out_assocs_proc_init: |
124 | sctp_eps_proc_exit(); | 124 | sctp_eps_proc_exit(); |
125 | out_eps_proc_init: | 125 | out_eps_proc_init: |