Re: [PATCH] ip6_tunnel: copy parms.name after register_netdevice

From: David Miller
Date: Mon Nov 14 2011 - 00:25:00 EST


From: Josh Boyer <jwboyer@xxxxxxxxxx>
Date: Thu, 10 Nov 2011 20:10:23 -0500

> @@ -288,6 +288,8 @@ static struct ip6_tnl *ip6_tnl_create(struct net *net, struct ip6_tnl_parm *p)
>
> if ((err = register_netdevice(dev)) < 0)
> goto failed_free;
> +
> + strcpy(t->parms.name, dev->name);

Trailing whitespace on that blank line you're adding.

I fixed this up, applied, and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/