* [PATCH] IPv6: fix to set device name when new IPv6 over IPv6 tunnel device is created.
@ 2009-02-09 18:46 Noriaki TAKAMIYA
2009-02-09 23:01 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Noriaki TAKAMIYA @ 2009-02-09 18:46 UTC (permalink / raw)
To: shemminger; +Cc: takamiya, davem, yoshfuji, netdev, usagi-core
Hi,
When the user creates IPv6 over IPv6 tunnel, the device name created
by the kernel isn't set to t->parm.name, which is referred as the
result of ioctl().
Signed-off-by: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp>
---
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 58e2b0d..d994c55 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -249,8 +249,8 @@ static struct ip6_tnl *ip6_tnl_create(struct net *net, struct ip6_tnl_parm *p)
}
t = netdev_priv(dev);
- ip6_tnl_dev_init(dev);
t->parms = *p;
+ ip6_tnl_dev_init(dev);
if ((err = register_netdevice(dev)) < 0)
goto failed_free;
--
Noriaki TAKAMIYA
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] IPv6: fix to set device name when new IPv6 over IPv6 tunnel device is created.
2009-02-09 18:46 [PATCH] IPv6: fix to set device name when new IPv6 over IPv6 tunnel device is created Noriaki TAKAMIYA
@ 2009-02-09 23:01 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-02-09 23:01 UTC (permalink / raw)
To: takamiya; +Cc: shemminger, takamiya, yoshfuji, netdev, usagi-core
From: Noriaki TAKAMIYA <takamiya@linux-ipv6.org>
Date: Tue, 10 Feb 2009 03:46:42 +0900 (JST)
> When the user creates IPv6 over IPv6 tunnel, the device name created
> by the kernel isn't set to t->parm.name, which is referred as the
> result of ioctl().
>
> Signed-off-by: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Patch applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-09 23:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-09 18:46 [PATCH] IPv6: fix to set device name when new IPv6 over IPv6 tunnel device is created Noriaki TAKAMIYA
2009-02-09 23:01 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.