diff options
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index e5c5aad44bb1..bc929381fa46 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -719,6 +719,9 @@ static int __init init_ipv6_mibs(void) | |||
719 | if (snmp_mib_init((void **)icmpv6_statistics, sizeof (struct icmpv6_mib), | 719 | if (snmp_mib_init((void **)icmpv6_statistics, sizeof (struct icmpv6_mib), |
720 | __alignof__(struct icmpv6_mib)) < 0) | 720 | __alignof__(struct icmpv6_mib)) < 0) |
721 | goto err_icmp_mib; | 721 | goto err_icmp_mib; |
722 | if (snmp_mib_init((void **)icmpv6msg_statistics, | ||
723 | sizeof (struct icmpv6msg_mib), __alignof__(struct icmpv6_mib)) < 0) | ||
724 | goto err_icmpmsg_mib; | ||
722 | if (snmp_mib_init((void **)udp_stats_in6, sizeof (struct udp_mib), | 725 | if (snmp_mib_init((void **)udp_stats_in6, sizeof (struct udp_mib), |
723 | __alignof__(struct udp_mib)) < 0) | 726 | __alignof__(struct udp_mib)) < 0) |
724 | goto err_udp_mib; | 727 | goto err_udp_mib; |
@@ -730,6 +733,8 @@ static int __init init_ipv6_mibs(void) | |||
730 | err_udplite_mib: | 733 | err_udplite_mib: |
731 | snmp_mib_free((void **)udp_stats_in6); | 734 | snmp_mib_free((void **)udp_stats_in6); |
732 | err_udp_mib: | 735 | err_udp_mib: |
736 | snmp_mib_free((void **)icmpv6msg_statistics); | ||
737 | err_icmpmsg_mib: | ||
733 | snmp_mib_free((void **)icmpv6_statistics); | 738 | snmp_mib_free((void **)icmpv6_statistics); |
734 | err_icmp_mib: | 739 | err_icmp_mib: |
735 | snmp_mib_free((void **)ipv6_statistics); | 740 | snmp_mib_free((void **)ipv6_statistics); |