Florin Malita 40abc27066 [BOND]: Fix bond_init() error path handling.
From: Florin Malita <fmalita@gmail.com>

bond_init() is not releasing rtnl_sem after register_netdevice() and before
calling unregister_netdevice() (from bond_free_all()) in the exception
path.  As the device registration is not completed (dev->reg_state ==
NETREG_REGISTERING), the call to unregister_netdevice() triggers
BUG_ON(dev->reg_state != NETREG_REGISTERED).

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-09-18 00:24:12 -07:00
..
2005-09-10 10:06:35 -07:00
2005-09-17 11:50:03 -07:00
2005-09-11 19:15:07 -07:00
2005-07-30 09:47:53 -05:00
2005-09-17 11:50:02 -07:00
2005-09-17 11:50:02 -07:00
2005-09-17 15:34:30 -07:00
2005-09-17 11:49:58 -07:00
2005-09-06 17:52:54 -05:00
2005-09-08 01:45:47 -04:00
2005-06-21 18:46:32 -07:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00