diff options
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r-- | net/ipv6/sit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index 1ebf99a6776e..d3467e563f02 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -1025,9 +1025,9 @@ static int sit_init_net(struct net *net) | |||
1025 | err = -ENOMEM; | 1025 | err = -ENOMEM; |
1026 | goto err_alloc_dev; | 1026 | goto err_alloc_dev; |
1027 | } | 1027 | } |
1028 | dev_net_set(sitn->fb_tunnel_dev, net); | ||
1028 | 1029 | ||
1029 | ipip6_fb_tunnel_init(sitn->fb_tunnel_dev); | 1030 | ipip6_fb_tunnel_init(sitn->fb_tunnel_dev); |
1030 | dev_net_set(sitn->fb_tunnel_dev, net); | ||
1031 | 1031 | ||
1032 | if ((err = register_netdev(sitn->fb_tunnel_dev))) | 1032 | if ((err = register_netdev(sitn->fb_tunnel_dev))) |
1033 | goto err_reg_dev; | 1033 | goto err_reg_dev; |