mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
b5f9d55b64
[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> |
||
---|---|---|
.. | ||
claw.c | ||
claw.h | ||
ctcdbug.c | ||
ctcdbug.h | ||
ctcmain.c | ||
ctctty.c | ||
ctctty.h | ||
cu3088.c | ||
cu3088.h | ||
fsm.c | ||
fsm.h | ||
iucv.c | ||
iucv.h | ||
Kconfig | ||
lcs.c | ||
lcs.h | ||
Makefile | ||
netiucv.c | ||
qeth_eddp.c | ||
qeth_eddp.h | ||
qeth_fs.h | ||
qeth_main.c | ||
qeth_mpc.c | ||
qeth_mpc.h | ||
qeth_proc.c | ||
qeth_sys.c | ||
qeth_tso.c | ||
qeth_tso.h | ||
qeth.h | ||
smsgiucv.c | ||
smsgiucv.h |