linux-imx/drivers/s390
Julian Wiedmann e47715af66 s390/qeth: conclude all event processing before offlining a card
[ Upstream commit c0a2e4d10d ]

Work for Bridgeport events is currently placed on a driver-wide
workqueue. If the card is removed and freed while any such work is still
active, this causes a use-after-free.
So put the events on a per-card queue, where we can control their
lifetime. As we also don't want stale events to last beyond an
offline & online cycle, flush this queue when setting the card offline.

Fixes: b4d72c08b3 ("qeth: bridgeport support - basic control")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-13 14:04:15 -07:00
..
block s390 updates for the 4.20 merge window 2018-10-23 11:14:47 +01:00
char s390/smp: fix CPU hotplug deadlock with CPU rescan 2019-01-31 08:15:38 +01:00
cio s390/cio: Fix cleanup when unsupported IDA format is used 2018-11-13 11:45:17 +01:00
crypto s390/zcrypt: fix specification exception on z196 during ap probe 2019-02-20 10:29:13 +01:00
net s390/qeth: conclude all event processing before offlining a card 2019-03-13 14:04:15 -07:00
scsi scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown 2019-01-13 09:24:01 +01:00
virtio virtio: don't allocate vqs when names[i] = NULL 2019-01-22 21:09:52 +01:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00