diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2016-05-07 20:09:15 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2016-05-07 20:09:15 +0000 |
commit | 2051c9b023f12da3a8b40342d4484f3cf8069b83 (patch) | |
tree | 39a1e250543c1426db92691529c3027261113629 /secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 | |
parent | 2bbf6b4b75457aadc05058cc03b671f3372b6eb2 (diff) | |
download | FreeBSD-src-2051c9b023f12da3a8b40342d4484f3cf8069b83.zip FreeBSD-src-2051c9b023f12da3a8b40342d4484f3cf8069b83.tar.gz |
MFC: r298495
Fix a LOR in the NFSv4.1 server.
The ordering of acquisition of the state and session mutexes was
reversed in two cases executed when an NFSv4.1 client created/freed
a session. Since clients will typically do this only when mounting
and dismounting, the likelyhood of causing a deadlock was low but possible.
This can only occur for NFSv4.1 mounts, since the others do not
use sessions.
This was detected while testing the pNFS server/client where the
client crashed during dismounting.
The patch also reorders the unlocks, although that isn't necessary
for correct operation.
Diffstat (limited to 'secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3')
0 files changed, 0 insertions, 0 deletions