diff options
author | Alexander Lobakin <[email protected]> | 2020-06-23 16:51:35 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-23 15:01:16 -0700 |
commit | ec6c80590bde6b5dfa4970fffa3572f1acd313ca (patch) | |
tree | 6687b950c26638923241a50391520166703e2d33 /lib/mpi/mpi-add.c | |
parent | 1c85f394c2206ea3835f43534d5675f0574e1b70 (diff) |
net: qede: fix use-after-free on recovery and AER handling
Set edev->cdev pointer to NULL after calling remove() callback to avoid
using of already freed object.
Fixes: ccc67ef50b90 ("qede: Error recovery process")
Signed-off-by: Alexander Lobakin <[email protected]>
Signed-off-by: Igor Russkikh <[email protected]>
Signed-off-by: Michal Kalderon <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions