Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/rdmacm-mux: Fix error condition in hash_tbl_search_fd_by_ifid()
When fd is not found according to ifid, the _hash_tbl_search_fd_by_ifid() returns 0 and assigns the result to *fd, so We have to check that *fd is 0, not that fd is 0. Reported-by: Euler Robot <[email protected]> Signed-off-by: AlexChen <[email protected]> Message-Id: <[email protected]> Reviewed-by: Marcel Apfelbaum <[email protected]> Signed-off-by: Marcel Apfelbaum <[email protected]>
- Loading branch information