Whamcloud - gitweb
LU-17230 socklnd: treat UNKNOWN netif operstate as UP 42/52842/6
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Thu, 26 Oct 2023 18:15:28 +0000 (11:15 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 Nov 2023 21:29:12 +0000 (21:29 +0000)
commit6897dbe67c0d7d7554926128a17c65afa1ec0001
tree0dc87f67bae3863510e9a510c8e3c3a25e89e55b
parente383791b1ca45ea14f38c98b9ff55faf7590ef30
LU-17230 socklnd: treat UNKNOWN netif operstate as UP

"UNKNOWN" (IF_OPER_UNKNOWN) operational state doesn't necessarily
mean that the interface can't be used and may be the result of
particular network driver not providing UP/DOWN states,
so it may be incorrect for socklnd to initiate
setting of a "fatal error" flag on a NI using an interface
in "UNKNOWN" operstate.

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: I39dfa01f3758809440d50cf8b6b11555889ef366
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52842
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
lnet/klnds/socklnd/socklnd.c