linux_old1/drivers/s390
Jan Glauber 5f4026f8b2 [S390] qdio: prevent dsci access without adapter interrupts
A kernel panic may occur during sending or receiving network packets
on a machine without adapter interrupts since commit d36deae.
The bug is triggered by writing to the shared indicator address which
is set to 0 if the machine doesn't have adapter interrupts.

Make the reading and setting of the shared indicator dependent on the
adapter interrupt feature and while at it move the code to the
file containing the adapter interrupt related code.

Thanks to Jan Jaeger for tracking this down.

Reported-by: Jan Jaeger <jan.jaeger@westnet.com.au>
Tested-by: Jan Jaeger <jan.jaeger@westnet.com.au>
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-10-30 15:16:47 +01:00
..
block [S390] sparse: fix sparse NULL pointer warnings 2011-10-30 15:16:46 +01:00
char [S390] zcore: add missing module.h include 2011-10-30 15:16:44 +01:00
cio [S390] qdio: prevent dsci access without adapter interrupts 2011-10-30 15:16:47 +01:00
crypto atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
kvm [S390] sparse: fix sparse symbol shadow warning 2011-10-30 15:16:47 +01:00
net [S390] sparse: fix sparse static warnings 2011-10-30 15:16:46 +01:00
scsi [SCSI] zfcp: support for hardware data router 2011-08-27 08:37:03 -06:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00