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

From: Josh Boyer
Date: Mon Nov 14 2011 - 09:02:59 EST


On Mon, Nov 14, 2011 at 12:24:56AM -0500, David Miller wrote:
> 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.

Ugh. Forgot to run checkpatch. Apologies.

> I fixed this up, applied, and queued up for -stable, thanks.

Thank you.

josh
--
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/