aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/rw.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-03-13 16:06:14 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-03-15 14:40:37 -0600
commit563c4ba3bd2b8b0b21c65669ec2226b1cfa1138b (patch)
tree5ecde412e1951d707c8f09db5d214587dc3784d8 /drivers/infiniband/core/rw.c
parentIB/core: Honor return status of ib_init_ah_from_mcmember() (diff)
downloadlinux-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/infiniband/core/rw.c')
0 files changed, 0 insertions, 0 deletions