diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-02-04 19:40:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-04 20:43:48 +0300 |
commit | c0a2e4d10d9366ada133a8ae4ff2f32397f8b15b (patch) | |
tree | 29d3e353e7d7de47e4c69c99c4a448b8900c6a16 /arch/csky/include | |
parent | c2780c1a3fb724560b1d44f7976e0de17bf153c7 (diff) | |
download | linux-c0a2e4d10d9366ada133a8ae4ff2f32397f8b15b.tar.xz |
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: b4d72c08b358 ("qeth: bridgeport support - basic control")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/csky/include')
0 files changed, 0 insertions, 0 deletions