summaryrefslogtreecommitdiff
path: root/net/ipv6/ah6.c
diff options
context:
space:
mode:
authorFlorin Malita <fmalita@gmail.com>2005-09-18 11:24:12 +0400
committerDavid S. Miller <davem@davemloft.net>2005-09-18 11:24:12 +0400
commit40abc27066c49b2c13c817154d438431b0303b96 (patch)
tree0e5b000311e1729892c4595c0dbe106b987d577e /net/ipv6/ah6.c
parent88f964db6ef728982734356bf4c406270ea29c1d (diff)
downloadlinux-40abc27066c49b2c13c817154d438431b0303b96.tar.xz
[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>
Diffstat (limited to 'net/ipv6/ah6.c')
0 files changed, 0 insertions, 0 deletions