diff options
author | 2019-05-29 09:38:31 -0700 | |
---|---|---|
committer | 2019-06-07 13:36:42 -0300 | |
commit | bcef5b7215681250c4bf8961dfe15e9e4fef97d0 (patch) | |
tree | 90bb2efa2501534a225e871954a199438364c8b3 /drivers/infiniband/hw/hns/hns_roce_hem.c | |
parent | RDMA/ipoib: implement ethtool .get_link() callback (diff) | |
download | linux-dev-bcef5b7215681250c4bf8961dfe15e9e4fef97d0.tar.xz linux-dev-bcef5b7215681250c4bf8961dfe15e9e4fef97d0.zip |
RDMA/srp: Accept again source addresses that do not have a port number
The function srp_parse_in() is used both for parsing source address
specifications and for target address specifications. Target addresses
must have a port number. Having to specify a port number for source
addresses is inconvenient. Make sure that srp_parse_in() supports again
parsing addresses with no port number.
Cc: <stable@vger.kernel.org>
Fixes: c62adb7def71 ("IB/srp: Fix IPv6 address parsing")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions