set ep to NULL to avoid double close
Per suggestion of @awlauria Signed-off-by: Harumi Kuno <harumi.kuno@hpe.com> (cherry picked from commit ab4875ddc2b76ceced120fbfe09d8dcbde6e6ff3) Signed-off-by: Brian Barrett <bbarrett@amazon.com>
Этот коммит содержится в:
родитель
faaaf5ca1c
Коммит
2e137ae31c
@ -581,6 +581,7 @@ fail:
|
||||
/* close basic ep before closing av */
|
||||
if (NULL != ep && !module->is_scalable_ep) {
|
||||
fi_close(&ep->fid);
|
||||
ep = NULL;
|
||||
}
|
||||
|
||||
/* if the contexts have not been initiated, num_contexts should
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user