1
0
Fork 0
remarkable-linux/drivers/infiniband
Parav Pandit 739c8e7088 IB/core: Honor port_num while resolving GID for IB link layer
[ Upstream commit 563c4ba3bd ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:52:32 +02:00
..
core IB/core: Honor port_num while resolving GID for IB link layer 2018-05-30 07:52:32 +02:00
hw IB/mlx5: Set the default active rate and width to QDR and 4X 2018-05-30 07:52:30 +02:00
sw IB/rxe: Fix for oops in rxe_register_device on ppc64le arch 2018-05-30 07:52:24 +02:00
ulp net: don't call update_pmtu unconditionally 2018-05-09 09:51:48 +02:00
Kconfig IB/core: Expose ioctl interface through experimental Kconfig 2017-08-31 08:35:14 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00