diff options
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 9258dfe784ae..23aaffb97ca3 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -113,9 +113,13 @@ static __init int sctp_proc_init(void) | |||
113 | goto out_eps_proc_init; | 113 | goto out_eps_proc_init; |
114 | if (sctp_assocs_proc_init()) | 114 | if (sctp_assocs_proc_init()) |
115 | goto out_assocs_proc_init; | 115 | goto out_assocs_proc_init; |
116 | if (sctp_remaddr_proc_init()) | ||
117 | goto out_remaddr_proc_init; | ||
116 | 118 | ||
117 | return 0; | 119 | return 0; |
118 | 120 | ||
121 | out_remaddr_proc_init: | ||
122 | sctp_remaddr_proc_exit(); | ||
119 | out_assocs_proc_init: | 123 | out_assocs_proc_init: |
120 | sctp_eps_proc_exit(); | 124 | sctp_eps_proc_exit(); |
121 | out_eps_proc_init: | 125 | out_eps_proc_init: |
@@ -138,6 +142,7 @@ static void sctp_proc_exit(void) | |||
138 | sctp_snmp_proc_exit(); | 142 | sctp_snmp_proc_exit(); |
139 | sctp_eps_proc_exit(); | 143 | sctp_eps_proc_exit(); |
140 | sctp_assocs_proc_exit(); | 144 | sctp_assocs_proc_exit(); |
145 | sctp_remaddr_proc_exit(); | ||
141 | 146 | ||
142 | if (proc_net_sctp) { | 147 | if (proc_net_sctp) { |
143 | proc_net_sctp = NULL; | 148 | proc_net_sctp = NULL; |