linux-uconsole/drivers/infiniband/ulp
Bart Van Assche 0ca2688bd7 RDMA/srp: Accept again source addresses that do not have a port number
[ Upstream commit bcef5b7215 ]

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: c62adb7def ("IB/srp: Fix IPv6 address parsing")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-09-16 08:22:19 +02:00
..
ipoib IB/ipoib: Add child to parent list only if device initialized 2019-07-31 07:27:05 +02:00
iser iser: set sector for ambiguous mr status errors 2018-12-08 12:59:06 +01:00
isert IB/isert: Simplify ib_post_(send|recv|srq_recv)() calls 2018-07-24 16:06:36 -06:00
opa_vnic net: allow ndo_select_queue to pass netdev 2018-07-09 13:41:34 -07:00
srp RDMA/srp: Accept again source addresses that do not have a port number 2019-09-16 08:22:19 +02:00
srpt scsi: RDMA/srpt: Fix a credit leak for aborted commands 2019-05-08 07:21:52 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00