projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED
[linux-2.6]
/
drivers
/
net
/
veth.c
diff --git
a/drivers/net/veth.c
b/drivers/net/veth.c
index
e2ad98b
..
31cd817
100644
(file)
--- a/
drivers/net/veth.c
+++ b/
drivers/net/veth.c
@@
-375,7
+375,7
@@
static int veth_newlink(struct net_device *dev,
else
snprintf(ifname, IFNAMSIZ, DRV_NAME "%%d");
- peer = rtnl_create_link(dev
->nd_net
, ifname, &veth_link_ops, tbp);
+ peer = rtnl_create_link(dev
_net(dev)
, ifname, &veth_link_ops, tbp);
if (IS_ERR(peer))
return PTR_ERR(peer);