mld: add new workqueues for process mld events
[platform/kernel/linux-starfive.git] / net / ipv6 / icmp.c
index fd1f896..29d38d6 100644 (file)
@@ -944,11 +944,11 @@ static int icmpv6_rcv(struct sk_buff *skb)
 
        case ICMPV6_MGM_QUERY:
                igmp6_event_query(skb);
-               break;
+               return 0;
 
        case ICMPV6_MGM_REPORT:
                igmp6_event_report(skb);
-               break;
+               return 0;
 
        case ICMPV6_MGM_REDUCTION:
        case ICMPV6_NI_QUERY: