diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-03-19 16:39:21 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2019-03-21 12:54:01 +0100 |
commit | 01ce31c57b3f07c91c9d45bbaf126124cce83a5d (patch) | |
tree | 4fcd62ac1d21e319b17df8de171d8a8007e19326 | |
parent | vti4: ipip tunnel deregistration fixes. (diff) | |
download | linux-01ce31c57b3f07c91c9d45bbaf126124cce83a5d.tar.xz linux-01ce31c57b3f07c91c9d45bbaf126124cce83a5d.zip |
vti4: removed duplicate log message.
Removed info log-message if ipip tunnel registration fails during
module-initialization: it adds nothing to the error message that is
written on all failures.
Fixes: dd9ee3444014e ("vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
-rw-r--r-- | net/ipv4/ip_vti.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c index b6235ca09fa5..35d8346742e2 100644 --- a/net/ipv4/ip_vti.c +++ b/net/ipv4/ip_vti.c @@ -646,10 +646,8 @@ static int __init vti_init(void) msg = "ipip tunnel"; err = xfrm4_tunnel_register(&ipip_handler, AF_INET); - if (err < 0) { - pr_info("%s: cant't register tunnel\n",__func__); + if (err < 0) goto xfrm_tunnel_failed; - } msg = "netlink interface"; err = rtnl_link_register(&vti_link_ops); |