]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
vti4: removed duplicate log message.
authorJeremy Sowden <jeremy@azazel.net>
Tue, 19 Mar 2019 15:39:21 +0000 (15:39 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 14 May 2020 08:54:05 +0000 (10:54 +0200)
BugLink: https://bugs.launchpad.net/bugs/1877461
commit 01ce31c57b3f07c91c9d45bbaf126124cce83a5d upstream.

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>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/ipv4/ip_vti.c

index 6097aa6f9147ff986ad6b251c49184060102ab1a..2727ef298dd478a24d32f103e6fd501b2b6d31ba 100644 (file)
@@ -678,10 +678,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);