summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx5/main.c
diff options
context:
space:
mode:
authorTatyana Nikolova <tatyana.e.nikolova@intel.com>2023-03-15 09:52:31 -0500
committerLeon Romanovsky <leon@kernel.org>2023-03-19 11:37:56 +0200
commite4522c097ec10f23ea0933e9e69d4fa9d8ae9441 (patch)
treeda9dbfbc0270a2f88afb7269cb32515b8dbc941c /drivers/infiniband/hw/mlx5/main.c
parent8385a875c9eecc429b2f72970efcbb0e5cb5b547 (diff)
downloadlinux-e4522c097ec10f23ea0933e9e69d4fa9d8ae9441.tar.gz
linux-e4522c097ec10f23ea0933e9e69d4fa9d8ae9441.tar.bz2
linux-e4522c097ec10f23ea0933e9e69d4fa9d8ae9441.zip
RDMA/irdma: Add ipv4 check to irdma_find_listener()
Add ipv4 check to irdma_find_listener(). Otherwise the function incorrectly finds and returns a listener with a different addr family for the zero IP addr, if a listener with a zero IP addr and the same port as the one searched for has already been created. Fixes: 146b9756f14c ("RDMA/irdma: Add connection manager") Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Link: https://lore.kernel.org/r/20230315145231.931-5-shiraz.saleem@intel.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions