Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121515
b: refs/heads/master
c: bb7bba3
h: refs/heads/master
i:
  121513: 2bb5b24
  121511: 952875a
v: v3
  • Loading branch information
Daniel Lezcano authored and David S. Miller committed Oct 29, 2008
1 parent 819d404 commit 9e23ce5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: fdb46ee752ed05c94bac71fe3decdb5175ec6e1f
refs/heads/master: bb7bba3d56963be59bc6764c8021290ed55205ad
3 changes: 0 additions & 3 deletions trunk/drivers/net/veth.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ struct veth_net_stats {

struct veth_priv {
struct net_device *peer;
struct net_device *dev;
struct list_head list;
struct veth_net_stats *stats;
unsigned ip_summed;
Expand Down Expand Up @@ -420,12 +419,10 @@ static int veth_newlink(struct net_device *dev,
*/

priv = netdev_priv(dev);
priv->dev = dev;
priv->peer = peer;
list_add(&priv->list, &veth_list);

priv = netdev_priv(peer);
priv->dev = peer;
priv->peer = dev;
INIT_LIST_HEAD(&priv->list);
return 0;
Expand Down

0 comments on commit 9e23ce5

Please sign in to comment.