-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fabrics: For TCP/RDMA, compare IP addresses with nvme_ipaddrs_eq()
These are the same changes we've already made to __nvme_lookup_ctrl in libnvme. IP addresses (especially IPv6) cannot be compared with a simple strcmp() or strcmpcase(). Also, for consistency with libnvme and improved readability, replace strcmp0()/strcmpcase0() by streq0()/streqcase0(). Signed-off-by: Martin Belanger <[email protected]>
- Loading branch information
Showing
1 changed file
with
48 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters