kdebug_secasv: Update for recent locking changes.

Reviewed by:	kp
Fixes:		0361f165f2 ipsec: replace SECASVAR  mtx by rmlock
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D37690
This commit is contained in:
John Baldwin 2022-12-15 11:27:39 -08:00
parent 120eff994a
commit b357d40f08

View File

@ -882,9 +882,11 @@ kdebug_secasv(struct secasvar *sav)
kdebug_secnatt(sav->natt);
if (sav->replay != NULL) {
KEYDBG(DUMP,
SECASVAR_LOCK(sav);
SECASVAR_RLOCK_TRACKER;
SECASVAR_RLOCK(sav);
kdebug_secreplay(sav->replay);
SECASVAR_UNLOCK(sav));
SECASVAR_RUNLOCK(sav));
}
printf("}\n");
}