Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232839
b: refs/heads/master
c: 13ad177
h: refs/heads/master
i:
  232837: b399867
  232835: a64061d
  232831: bfcff1b
v: v3
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed Jan 30, 2011
1 parent f78e2a6 commit c940253
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52fe7c9cc1637110ba4e0e6fe5d07cc0786d62de
refs/heads/master: 13ad17745c2cbd437d9e24b2d97393e0be11c439
3 changes: 3 additions & 0 deletions trunk/net/core/rtnetlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,9 @@ static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
snprintf(ifname, IFNAMSIZ, "%s%%d", ops->kind);

dest_net = rtnl_link_get_net(net, tb);
if (IS_ERR(dest_net))
return PTR_ERR(dest_net);

dev = rtnl_create_link(net, dest_net, ifname, ops, tb);

if (IS_ERR(dev))
Expand Down

0 comments on commit c940253

Please sign in to comment.