commit | c62adb7def71d7e0b4ba44f8da81a448eb53d6d5 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@wdc.com> | Mon Mar 12 13:55:55 2018 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Wed Mar 14 15:54:07 2018 -0400 |
tree | d27c6ec28df1f7380e65a4e1c0b5662494ba6f1a | |
parent | 19b1f54099b6ee334acbfbcfbdffd1d1f057216d [diff] |
IB/srp: Fix IPv6 address parsing Split IPv6 addresses at the colon that separates the IPv6 address and the port number instead of at a colon in the middle of the IPv6 address. Check whether the IPv6 address is surrounded with square brackets. Fixes: 19f313438c77 ("IB/srp: Add RDMA/CM support") Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>