turning callback off for krb5p
sspi requires strict ordering of messages. we can't have more than 1 outstanding rpc thus, hold the lock over send and receive and turn off callbacks.
This commit is contained in:
parent
67ae1eddaf
commit
47b0ccda9c
5 changed files with 26 additions and 10 deletions
|
|
@ -279,8 +279,13 @@ int nfs41_session_create(
|
|||
}
|
||||
|
||||
AcquireSRWLockShared(&client->exid_lock);
|
||||
#ifdef NO_CB_4_KRB5P
|
||||
if ((client->roles & (EXCHGID4_FLAG_USE_PNFS_MDS |
|
||||
EXCHGID4_FLAG_USE_NON_PNFS)) && client->rpc->needcb)
|
||||
#else
|
||||
if (client->roles & (EXCHGID4_FLAG_USE_PNFS_MDS |
|
||||
EXCHGID4_FLAG_USE_NON_PNFS))
|
||||
#endif
|
||||
session->flags |= CREATE_SESSION4_FLAG_CONN_BACK_CHAN;
|
||||
ReleaseSRWLockShared(&client->exid_lock);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue