]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_tunnel: Reduce log level in ip6_tnl_err() to debug
authorMatt Bennett <matt.bennett@alliedtelesis.co.nz>
Thu, 24 Sep 2015 23:01:47 +0000 (11:01 +1200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2015 23:08:37 +0000 (16:08 -0700)
commitfcfbabc7d91790cb636284fb2daad2741d32178d
tree8eb9efd9974b6b970d02907ecb5f114514ec763d
parent02caa06a07bd960324cb64891ed49f26d548c15a
ip6_tunnel: Reduce log level in ip6_tnl_err() to debug

Currently error log messages in ip6_tnl_err are printed at 'warn'
level. This is different to other tunnel types which don't print
any messages. These log messages don't provide any information that
couldn't be deduced with networking tools. Also it can be annoying
to have one end of the tunnel go down and have the logs fill with
pointless messages such as "Path to destination invalid or inactive!".

This patch reduces the log level of these messages to 'dbg' level to
bring the visible behaviour into line with other tunnel types.

Signed-off-by: Matt Bennett <matt.bennett@alliedtelesis.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c