Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea85a0a2 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
Acked-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
parent 908344cd
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -777,12 +777,12 @@ static int icmpv6_rcv(struct sk_buff *skb)
		break;
		break;


	default:
	default:
		LIMIT_NETDEBUG(KERN_DEBUG "icmpv6: msg of unknown type\n");

		/* informational */
		/* informational */
		if (type & ICMPV6_INFOMSG_MASK)
		if (type & ICMPV6_INFOMSG_MASK)
			break;
			break;


		LIMIT_NETDEBUG(KERN_DEBUG "icmpv6: msg of unknown type\n");

		/*
		/*
		 * error of unknown type.
		 * error of unknown type.
		 * must pass to upper level
		 * must pass to upper level