When the target port is gone, the lsrsp pointer is invalid. Thus don'tReviewed-by: Hannes Reinecke <hare@xxxxxxx>
call the done function anymore instead just drop the response.
This happens when the target sends a disconnect association. After this
the target starts tearing down all resources and doesn't expect any
response.
Signed-off-by: Daniel Wagner <wagi@xxxxxxxxxx>
---
drivers/nvme/target/fcloop.c | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)