vti4: removed duplicate log message.
authorJeremy Sowden <jeremy@azazel.net>
Tue, 19 Mar 2019 15:39:21 +0000 (15:39 +0000)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 21 Mar 2019 11:54:01 +0000 (12:54 +0100)
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>
net/ipv4/ip_vti.c

index b6235ca..35d8346 100644 (file)
@@ -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);