diff options
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 358f001d848d..ef249ab5c93c 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -1428,9 +1428,9 @@ static int ip6_tnl_init_net(struct net *net) | |||
1428 | 1428 | ||
1429 | if (!ip6n->fb_tnl_dev) | 1429 | if (!ip6n->fb_tnl_dev) |
1430 | goto err_alloc_dev; | 1430 | goto err_alloc_dev; |
1431 | dev_net_set(ip6n->fb_tnl_dev, net); | ||
1431 | 1432 | ||
1432 | ip6_fb_tnl_dev_init(ip6n->fb_tnl_dev); | 1433 | ip6_fb_tnl_dev_init(ip6n->fb_tnl_dev); |
1433 | dev_net_set(ip6n->fb_tnl_dev, net); | ||
1434 | 1434 | ||
1435 | err = register_netdev(ip6n->fb_tnl_dev); | 1435 | err = register_netdev(ip6n->fb_tnl_dev); |
1436 | if (err < 0) | 1436 | if (err < 0) |