https://github.com/torvalds/linux
Revision 40abc27066c49b2c13c817154d438431b0303b96 authored by Florin Malita on 18 September 2005, 07:24:12 UTC, committed by David S. Miller on 18 September 2005, 07:24:12 UTC
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>
1 parent 88f964d
History
Tip revision: 40abc27066c49b2c13c817154d438431b0303b96 authored by Florin Malita on 18 September 2005, 07:24:12 UTC
[BOND]: Fix bond_init() error path handling.
Tip revision: 40abc27
File Mode Size
Documentation
arch
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.1 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 58.6 KB
Makefile -rw-r--r-- 42.4 KB
README -rw-r--r-- 14.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top