linux/drivers/s390
Frank Pavlic b5f9d55b64 [PATCH] s390: set online race in the lcs driver
[patch 3/10] s390: set online race in the lcs driver.

From: Michael Holzheu <holzheu@de.ibm.com>

There is a race between lcs_stopcard() and lcs_open_device() which
can lead to the error 'lcs: Error in starting channel, rc=-16'.
lcs_open_device() is invoked when 'ifconfig up' is called due to a
hotplug event, which is caused by register_netdev(). In parallel
lcs_stopcard() is executed. Both functions are sending lcs commands.
The second invocation fails with -EBUSY (-16) as return value.
Move invocation of register_netdev() after invocation of lcs_stopcard
to avoid the race.

Signed-off-by: Frank Pavlic <pavlic@de.ibm.com>
2005-05-15 18:06:16 -04:00
..
block [PATCH] s390: remove ioctl32 from dasdcmb 2005-05-01 08:58:59 -07:00
char Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cio [PATCH] Change synchronize_kernel to _rcu and _sched 2005-05-01 08:59:04 -07:00
crypto [PATCH] s390: remove ioctl32 from crypto driver 2005-05-01 08:59:00 -07:00
net [PATCH] s390: set online race in the lcs driver 2005-05-15 18:06:16 -04:00
scsi [SCSI] zfcp: fix compile error 2005-04-21 16:14:31 -04:00
ebcdic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s390mach.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s390mach.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysinfo.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00