Whamcloud - gitweb
LU-17212 gss: survive improper obd or imp at ctx init
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 19 Oct 2023 09:11:48 +0000 (11:11 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 12 Dec 2023 05:39:02 +0000 (05:39 +0000)
commitc6e80b4a7d3b86cae8b3552936c0a1b557cfa648
treea50308b886c51eaa2304c35df1f3e7161e605043
parent53d323fbde29cf228c353784de272bbc99fcca33
LU-17212 gss: survive improper obd or imp at ctx init

GSS context init requests can happen even after a client has been
unmounted, because they are coming from userspace (request-key,
lgss_keyring).
In this case they must be ignored, and code must be robust to survive
improper, already or partially shutdown obd device or import.

Lustre-change: https://review.whamcloud.com/52755
Lustre-commit: 3fcddf6dcdd92df6557c59913a61944f21d58615

Test-Parameters: kerberos=true testlist=sanity-krb5
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I541727165eadf1fcb7715e416da85d100976cf2f
Reviewed-by: Aurelien Degremont <adegremont@nvidia.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53291
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/gss/gss_cli_upcall.c