diff options
author | Tatyana Nikolova <[email protected]> | 2023-03-15 09:52:31 -0500 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2023-03-19 11:37:56 +0200 |
commit | e4522c097ec10f23ea0933e9e69d4fa9d8ae9441 (patch) | |
tree | da9dbfbc0270a2f88afb7269cb32515b8dbc941c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 8385a875c9eecc429b2f72970efcbb0e5cb5b547 (diff) |
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 <[email protected]>
Signed-off-by: Shiraz Saleem <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions