aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipip.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ipip.c')
-rw-r--r--net/ipv4/ipip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c
index 9eb437cb821a..5079dfbc6f38 100644
--- a/net/ipv4/ipip.c
+++ b/net/ipv4/ipip.c
@@ -793,9 +793,9 @@ static int ipip_init_net(struct net *net)
793 err = -ENOMEM; 793 err = -ENOMEM;
794 goto err_alloc_dev; 794 goto err_alloc_dev;
795 } 795 }
796 dev_net_set(ipn->fb_tunnel_dev, net);
796 797
797 ipip_fb_tunnel_init(ipn->fb_tunnel_dev); 798 ipip_fb_tunnel_init(ipn->fb_tunnel_dev);
798 dev_net_set(ipn->fb_tunnel_dev, net);
799 799
800 if ((err = register_netdev(ipn->fb_tunnel_dev))) 800 if ((err = register_netdev(ipn->fb_tunnel_dev)))
801 goto err_reg_dev; 801 goto err_reg_dev;