Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d00fb9e authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by David S. Miller
Browse files

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: default avatarPavel Emelyanov <xemul@openvz.org>
Acked-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 48c5732f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -119,7 +119,7 @@ static __init int sctp_proc_init(void)
	return 0;
	return 0;


out_remaddr_proc_init:
out_remaddr_proc_init:
	sctp_remaddr_proc_exit();
	sctp_assocs_proc_exit();
out_assocs_proc_init:
out_assocs_proc_init:
	sctp_eps_proc_exit();
	sctp_eps_proc_exit();
out_eps_proc_init:
out_eps_proc_init: