Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46541
b: refs/heads/master
c: 09c8927
h: refs/heads/master
i:
  46539: 7042c11
v: v3
  • Loading branch information
Jay Vosburgh authored and Jeff Garzik committed Feb 5, 2007
1 parent f6a4ea1 commit f2cf811
Show file tree
Hide file tree
Showing 2 changed files with 8 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: e4b91c484611da385e34ff0f8bb2744ae2c735b7
refs/heads/master: 09c892797688312dc8a3c4d8b37dcb7207c1d48a
9 changes: 7 additions & 2 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4756,14 +4756,19 @@ int bond_create(char *name, struct bond_params *params, struct bonding **newbond

rtnl_unlock(); /* allows sysfs registration of net device */
res = bond_create_sysfs_entry(bond_dev->priv);
goto done;
if (res < 0) {
rtnl_lock();
goto out_bond;
}

return 0;

out_bond:
bond_deinit(bond_dev);
out_netdev:
free_netdev(bond_dev);
out_rtnl:
rtnl_unlock();
done:
return res;
}

Expand Down

0 comments on commit f2cf811

Please sign in to comment.