[driver] stop impersonating client even if it's a lost upcall
This commit is contained in:
parent
0e272630a3
commit
fd21e7fbfd
1 changed files with 3 additions and 3 deletions
|
|
@ -1540,14 +1540,14 @@ NTSTATUS nfs41_downcall(
|
||||||
}
|
}
|
||||||
pEntry = pEntry->Flink;
|
pEntry = pEntry->Flink;
|
||||||
}
|
}
|
||||||
ExReleaseFastMutex(&downcallLock);
|
ExReleaseFastMutex(&downcallLock);
|
||||||
|
SeStopImpersonatingClient();
|
||||||
if (!found) {
|
if (!found) {
|
||||||
print_error("Didn't find xid=%d entry\n", tmp->xid);
|
print_error("Didn't find xid=%d entry\n", tmp->xid);
|
||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
ExAcquireFastMutex(&cur->lock);
|
ExAcquireFastMutex(&cur->lock);
|
||||||
SeStopImpersonatingClient();
|
|
||||||
if (cur->state == NFS41_NOT_WAITING) {
|
if (cur->state == NFS41_NOT_WAITING) {
|
||||||
print_error("[downcall] Nobody is waiting for this request!!!\n");
|
print_error("[downcall] Nobody is waiting for this request!!!\n");
|
||||||
ExReleaseFastMutex(&cur->lock);
|
ExReleaseFastMutex(&cur->lock);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue