Commit 20461c17 authored by Noriaki TAKAMIYA's avatar Noriaki TAKAMIYA Committed by David S. Miller
Browse files

IPv6: fix to set device name when new IPv6 over IPv6 tunnel device is created.

When the user creates IPv6 over IPv6 tunnel, the device name created
by the kernel isn't set to t->, which is referred as the
result of ioctl().

Signed-off-by: default avatarNoriaki TAKAMIYA <>
Signed-off-by: default avatarDavid S. Miller <>
parent 8707bdd4
......@@ -249,8 +249,8 @@ static struct ip6_tnl *ip6_tnl_create(struct net *net, struct ip6_tnl_parm *p)
t = netdev_priv(dev);
t->parms = *p;
if ((err = register_netdevice(dev)) < 0)
goto failed_free;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment