Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prov/verbs_nd: Check error code from GetPrivateData #9574

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

k0zmo
Copy link
Contributor

@k0zmo k0zmo commented Nov 15, 2023

On ECONNREFUSED Mellanox drivers return 0xc000023a while still writing to len a non-zero value. This commit addresses the issue by checking both the error code and len for non-zero values.

@j-xiong
Copy link
Contributor

j-xiong commented Nov 15, 2023

Please add a 'Signed-off-by:' line to the commit message.

On ECONNREFUSED Mellanox drivers return 0xc000023a while still writing
to `len` a non-zero value. This commit addresses the issue by checking
both the error code and `len` for non-zero values.

Signed-off-by: Kajetan Świerk <[email protected]>
@k0zmo k0zmo force-pushed the prov-verbs-nd-check-error-code branch from ab5063d to f2b5a3d Compare November 15, 2023 23:21
@j-xiong j-xiong merged commit da40f10 into ofiwg:main Nov 16, 2023
8 checks passed
@k0zmo k0zmo deleted the prov-verbs-nd-check-error-code branch November 16, 2023 23:05
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.

2 participants