Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150950
b: refs/heads/master
c: d932160
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jun 14, 2009
1 parent f653490 commit 365f4d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: d2991f75354941a4cdf61ce7443d21804b978f89
refs/heads/master: d93216051ae60995736518ca9ebb58a0e6ade212
8 changes: 4 additions & 4 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5164,15 +5164,15 @@ int bond_create(const char *name)
goto out_netdev;
}

bond_set_lockdep_class(bond_dev);

netif_carrier_off(bond_dev);

res = register_netdevice(bond_dev);
if (res < 0) {
goto out_bond;
}

bond_set_lockdep_class(bond_dev);

netif_carrier_off(bond_dev);

up_write(&bonding_rwsem);
rtnl_unlock(); /* allows sysfs registration of net device */
res = bond_create_sysfs_entry(netdev_priv(bond_dev));
Expand Down

0 comments on commit 365f4d4

Please sign in to comment.