diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c index ccb1d97dfa050956f905460cc036554e35e651d9..d4c4eabd02b65095c08696388ea2d69829b15e56 100644 --- a/net/ipv4/ip_vti.c +++ b/net/ipv4/ip_vti.c @@ -677,10 +677,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);