Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90785
b: refs/heads/master
c: 554eb27
h: refs/heads/master
i:
  90783: c4d5f59
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Apr 16, 2008
1 parent 1da243d commit b7a258e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f7f54b725f1a93f0a4daace1a924bee382b33b6
refs/heads/master: 554eb27782d4bb79e0a286a08ecafb81f758058c
3 changes: 3 additions & 0 deletions trunk/net/ipv6/ip6_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ static struct ip6_tnl *ip6_tnl_create(struct net *net, struct ip6_tnl_parm *p)
if (dev == NULL)
goto failed;

dev_net_set(dev, net);

if (strchr(name, '%')) {
if (dev_alloc_name(dev, name) < 0)
goto failed_free;
Expand Down Expand Up @@ -1341,6 +1343,7 @@ static void ip6_tnl_dev_setup(struct net_device *dev)
dev->mtu = ETH_DATA_LEN - sizeof (struct ipv6hdr);
dev->flags |= IFF_NOARP;
dev->addr_len = sizeof(struct in6_addr);
dev->features |= NETIF_F_NETNS_LOCAL;
}


Expand Down

0 comments on commit b7a258e

Please sign in to comment.