linux/drivers/s390/net
Julian Wiedmann c0a2e4d10d s390/qeth: conclude all event processing before offlining a card
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>
2019-02-04 09:43:48 -08:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c
ctcm_fsms.h
ctcm_main.c
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
ism.h
ism_drv.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
Kconfig
lcs.c
lcs.h
Makefile
netiucv.c
qeth_core.h s390/qeth: conclude all event processing before offlining a card 2019-02-04 09:43:48 -08:00
qeth_core_main.c s390/qeth: conclude all event processing before offlining a card 2019-02-04 09:43:48 -08:00
qeth_core_mpc.c s390/qeth: replace open-coded cmd setup 2018-11-08 17:22:23 -08:00
qeth_core_mpc.h s390/qeth: remove two IPA command helpers 2018-11-08 17:22:24 -08:00
qeth_core_sys.c
qeth_l2.h
qeth_l2_main.c s390/qeth: conclude all event processing before offlining a card 2019-02-04 09:43:48 -08:00
qeth_l2_sys.c
qeth_l3.h
qeth_l3_main.c s390/qeth: conclude all event processing before offlining a card 2019-02-04 09:43:48 -08:00
qeth_l3_sys.c
smsgiucv.c
smsgiucv.h
smsgiucv_app.c