aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_hw_v1.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-05-31 19:04:44 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-06-16 15:26:01 -0300
commit7ce6095e3bff8e20ce018b050960b527e298f7df (patch)
treebf8dd7859cafd8ec36eb95f6d8335ddb0402f4c6 /drivers/infiniband/hw/hns/hns_roce_hw_v1.c
parentRDMA/irdma: Store PBL info address a pointer type (diff)
downloadlinux-dev-7ce6095e3bff8e20ce018b050960b527e298f7df.tar.xz
linux-dev-7ce6095e3bff8e20ce018b050960b527e298f7df.zip
RDMA/mlx5: Don't add slave port to unaffiliated list
The mlx5_ib_bind_slave_port() doesn't remove multiport device from the unaffiliated list, but mlx5_ib_unbind_slave_port() did it. This unbalanced flow caused to the situation where mlx5_ib_unaffiliated_port_list was changed during iteration. Fixes: 32f69e4be269 ("{net, IB}/mlx5: Manage port association for multiport RoCE") Link: https://lore.kernel.org/r/2726e6603b1e6ecfe76aa5a12a063af72173bcf7.1622477058.git.leonro@nvidia.com Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hw_v1.c')
0 files changed, 0 insertions, 0 deletions