2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/s390/net
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
..
claw.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
claw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ctcdbug.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ctcdbug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ctcmain.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ctctty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ctctty.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cu3088.c [PATCH] s390: claw driver wiring 2005-05-15 18:06:16 -04:00
cu3088.h [PATCH] s390: claw driver wiring 2005-05-15 18:06:16 -04:00
fsm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fsm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iucv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iucv.h 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
lcs.c [PATCH] s390: set online race in the lcs driver 2005-05-15 18:06:16 -04:00
lcs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] s390: claw driver wiring 2005-05-15 18:06:16 -04:00
netiucv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_eddp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_eddp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_fs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_main.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_mpc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_mpc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_tso.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth_tso.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qeth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smsgiucv.c [PATCH] s390: cmm guest sender id 2005-05-01 08:58:58 -07:00
smsgiucv.h [PATCH] s390: cmm guest sender id 2005-05-01 08:58:58 -07:00