]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
crypto: Cleanup mtx_init() calls.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 2 Nov 2021 18:27:20 +0000 (11:27 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 2 Nov 2021 19:18:05 +0000 (12:18 -0700)
commit4e057806cf56b238a0a3ef7af140f447d7b67ab5
tree8e40ff0c1fd53dd0769a3b62529ec1474b036247
parent717857819223d9c0f81eb38abd0df200532e1cdc
crypto: Cleanup mtx_init() calls.

Don't pass the same name to multiple mutexes while using unique types
for WITNESS.  Just use the unique types as the mutex names.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D32740
sys/opencrypto/crypto.c