lkml.org 
[lkml]   [2011]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] ip6_tunnel: copy parms.name after register_netdevice
From
From: Josh Boyer <jwboyer@redhat.com>
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.


\
 
 \ /
  Last update: 2011-11-14 06:27    [W:0.043 / U:46.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site