OpenCloudOS-Kernel/drivers/net/bonding
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
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bond_3ad.c [NET]: Kill skb->real_dev 2005-08-29 15:32:25 -07:00
bond_3ad.h [NET]: Kill skb->real_dev 2005-08-29 15:32:25 -07:00
bond_alb.c [NET]: Kill skb->real_dev 2005-08-29 15:32:25 -07:00
bond_alb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bond_main.c [BOND]: Fix bond_init() error path handling. 2005-09-18 00:24:12 -07:00
bonding.h [PATCH] bonding: inherit zero-copy flags of slaves 2005-08-23 01:34:53 -04:00