diff options
| author | David S. Miller <davem@davemloft.net> | 2014-10-07 16:33:53 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-10-07 16:33:53 -0400 |
| commit | ea85a0a2dc7263de733b7d1d13a433d35fcf36f7 (patch) | |
| tree | 7ca9f41e4625df0d61a929cb8bfab7c8bf56fa1d | |
| parent | 908344cdda8039dd5c291e8a1ddd49649dff8c4b (diff) | |
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 <davem@davemloft.net>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
| -rw-r--r-- | net/ipv6/icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 141e1f3ab74e..97ae70077a4f 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c | |||
| @@ -777,12 +777,12 @@ static int icmpv6_rcv(struct sk_buff *skb) | |||
| 777 | break; | 777 | break; |
| 778 | 778 | ||
| 779 | default: | 779 | default: |
| 780 | LIMIT_NETDEBUG(KERN_DEBUG "icmpv6: msg of unknown type\n"); | ||
| 781 | |||
| 782 | /* informational */ | 780 | /* informational */ |
| 783 | if (type & ICMPV6_INFOMSG_MASK) | 781 | if (type & ICMPV6_INFOMSG_MASK) |
| 784 | break; | 782 | break; |
| 785 | 783 | ||
| 784 | LIMIT_NETDEBUG(KERN_DEBUG "icmpv6: msg of unknown type\n"); | ||
| 785 | |||
| 786 | /* | 786 | /* |
| 787 | * error of unknown type. | 787 | * error of unknown type. |
| 788 | * must pass to upper level | 788 | * must pass to upper level |
