From: David S. Miller Date: Tue, 7 Oct 2014 20:33:53 +0000 (-0400) Subject: ipv6: Do not warn for informational ICMP messages, regardless of type. X-Git-Tag: v3.18-rc1~115^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea85a0a2dc7263de733b7d1d13a433d35fcf36f7;p=platform%2Fkernel%2Flinux-exynos.git ipv6: Do not warn for informational ICMP messages, regardless of type. There is no reason to emit a log message for these. Based upon a suggestion from Hannes Frederic Sowa. Signed-off-by: David S. Miller Acked-by: Hannes Frederic Sowa --- diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 141e1f3..97ae700 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c @@ -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