Skip to content
Commit 33c677d1 authored by Douglas Miller's avatar Douglas Miller Committed by Greg Kroah-Hartman
Browse files

IB/hfi1: Fix possible panic during hotplug remove



commit 4fdfaef7 upstream.

During hotplug remove it is possible that the update counters work
might be pending, and may run after memory has been freed.
Cancel the update counters work before freeing memory.

Fixes: 77241056 ("IB/hfi1: add driver files")
Signed-off-by: default avatarDouglas Miller <doug.miller@cornelisnetworks.com>
Signed-off-by: default avatarDennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Link: https://lore.kernel.org/r/169099756100.3927190.15284930454106475280.stgit@awfm-02.cornelisnetworks.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 13f7752f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment