Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux
[firefly-linux-kernel-4.4.55.git] / net / ipv6 / icmp.c
index 141e1f3ab74eb188525771d80c57b8d70537abda..97ae70077a4f226bac3da0f2f94f6efb21d2b246 100644 (file)
@@ -777,12 +777,12 @@ static int icmpv6_rcv(struct sk_buff *skb)
                break;
 
        default:
-               LIMIT_NETDEBUG(KERN_DEBUG "icmpv6: msg of unknown type\n");
-
                /* informational */
                if (type & ICMPV6_INFOMSG_MASK)
                        break;
 
+               LIMIT_NETDEBUG(KERN_DEBUG "icmpv6: msg of unknown type\n");
+
                /*
                 * error of unknown type.
                 * must pass to upper level