Thread (3 messages) 3 messages, 2 authors, 2011-11-14

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

From: David Miller <davem@davemloft.net>
Date: 2011-11-14 05:25:00
Also in: lkml, stable

From: Josh Boyer <redacted>
Date: Thu, 10 Nov 2011 20:10:23 -0500
quoted hunk ↗ jump to hunk
@@ -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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help