Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224728
b: refs/heads/master
c: 407d6fc
h: refs/heads/master
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Dec 1, 2010
1 parent f61d0d4 commit 5dec98f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2cd2d3e9b3ef960612e362f0ad129d735452df2
refs/heads/master: 407d6fcbfdd011bcc2dd9e6923c5cca00abbfc6f
4 changes: 2 additions & 2 deletions trunk/net/ipv4/ip_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,11 @@ static struct ip_tunnel *ipgre_tunnel_locate(struct net *net,
if (parms->name[0])
strlcpy(name, parms->name, IFNAMSIZ);
else
sprintf(name, "gre%%d");
strcpy(name, "gre%d");

dev = alloc_netdev(sizeof(*t), name, ipgre_tunnel_setup);
if (!dev)
return NULL;
return NULL;

dev_net_set(dev, net);

Expand Down

0 comments on commit 5dec98f

Please sign in to comment.