diff options
| author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-02-04 17:40:08 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-13 14:02:37 -0700 |
| commit | 825e58bc9800897edd21920d4fef6aee714039d4 (patch) | |
| tree | 67e21cce0eb5d910922c5858da926fa6dd8da284 /tools | |
| parent | 5327c5530c9bffe230e99e619946fa8e73f61eba (diff) | |
s390/qeth: cancel close_dev work before removing a card
[ Upstream commit c2780c1a3fb724560b1d44f7976e0de17bf153c7 ]
A card's close_dev work is scheduled on a driver-wide workqueue. If the
card is removed and freed while the work is still active, this causes a
use-after-free.
So make sure that the work is completed before freeing the card.
Fixes: 0f54761d167f ("qeth: Support VEPA mode")
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
