diff options
author | Parav Pandit <parav@mellanox.com> | 2018-03-13 16:06:14 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-15 14:40:37 -0600 |
commit | 563c4ba3bd2b8b0b21c65669ec2226b1cfa1138b (patch) | |
tree | 5ecde412e1951d707c8f09db5d214587dc3784d8 /drivers/scsi/scsi_transport_srp.c | |
parent | IB/core: Honor return status of ib_init_ah_from_mcmember() (diff) | |
download | linux-dev-563c4ba3bd2b8b0b21c65669ec2226b1cfa1138b.tar.xz linux-dev-563c4ba3bd2b8b0b21c65669ec2226b1cfa1138b.zip |
IB/core: Honor port_num while resolving GID for IB link layer
ah_attr contains the port number to which cm_id is bound. However, while
searching for GID table for matching GID entry, the port number is
ignored.
This could cause the wrong GID to be used when the ah_attr is converted to
an AH.
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_srp.c')
0 files changed, 0 insertions, 0 deletions