Skip to content

Commit 01ce31c

Browse files
a3a3elklassert
authored andcommitted
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: dd9ee34 ("vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel") Signed-off-by: Jeremy Sowden <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
1 parent 5483844 commit 01ce31c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

net/ipv4/ip_vti.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,8 @@ static int __init vti_init(void)
646646

647647
msg = "ipip tunnel";
648648
err = xfrm4_tunnel_register(&ipip_handler, AF_INET);
649-
if (err < 0) {
650-
pr_info("%s: cant't register tunnel\n",__func__);
649+
if (err < 0)
651650
goto xfrm_tunnel_failed;
652-
}
653651

654652
msg = "netlink interface";
655653
err = rtnl_link_register(&vti_link_ops);

0 commit comments

Comments
 (0)