|
@@ -938,14 +938,14 @@ static int __init inet6_init(void)
|
|
|
|
|
|
err = proto_register(&pingv6_prot, 1);
|
|
|
if (err)
|
|
|
- goto out_unregister_ping_proto;
|
|
|
+ goto out_unregister_raw_proto;
|
|
|
|
|
|
/* We MUST register RAW sockets before we create the ICMP6,
|
|
|
* IGMP6, or NDISC control sockets.
|
|
|
*/
|
|
|
err = rawv6_init();
|
|
|
if (err)
|
|
|
- goto out_unregister_raw_proto;
|
|
|
+ goto out_unregister_ping_proto;
|
|
|
|
|
|
/* Register the family here so that the init calls below will
|
|
|
* be able to create sockets. (?? is this dangerous ??)
|