Whamcloud - gitweb
LU-17743 o2iblnd: fix privileged port check in passive_connect 66/55266/2
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Thu, 30 May 2024 18:14:09 +0000 (11:14 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 Jun 2024 04:45:51 +0000 (04:45 +0000)
commit72208a0d7d613d83a660604904a78ce68494acdc
tree16a9a7d63f8dc9a287d45b2c913484e086498fb1
parent43df274a1bff78a36ca65448e5b5adde2250581e
LU-17743 o2iblnd: fix privileged port check in passive_connect

Check that the port is in "privileged" range only if
kib_require_priv_port is set

Test-Parameters: trivial testlist=sanity-lnet
Fixes: 9b18afa ("LU-17743 ko2iblnd: move to struct lnet_nid")
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: I3ed9c174d983be68aecc4b8e12aaae7c096d26e8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55266
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c