Skip to content

fabrics: do no try do disconnect invalid ctrl#3108

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-discovery
Feb 23, 2026
Merged

fabrics: do no try do disconnect invalid ctrl#3108
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-discovery

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Feb 23, 2026

The ctrl object (child) can be NULL when either discovery is false or _nvmf_discovery fails. Thus only disconnect when it is a valid pointer.

Fixes: #3104

The ctrl object (child) can be NULL when either discovery is false or
_nvmf_discovery fails. Thus only disconnect when it is a valid pointer.

Signed-off-by: Daniel Wagner <[email protected]>
@igaw igaw merged commit f70bdb0 into linux-nvme:master Feb 23, 2026
19 checks passed
@igaw igaw deleted the fix-discovery branch February 23, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libnvme segfault during blktests nvme/003 fc transport

1 participant