kern_jail.c w/o INVARIANTS

From: Michael Butler <imb_at_protected-networks.net>
Date: Sun, 21 Feb 2021 14:52:30 -0500
Seems there's a typo in this when INVARIANTS is not turned on ..

diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c
index 48c91a95bf..342af50462 100644
--- a/sys/kern/kern_jail.c
+++ b/sys/kern/kern_jail.c
_at__at_ -2671,7 +2671,7 _at__at_ prison_free_not_last(struct prison *pr)
             ("prison_free_not_last freed last ref on prison %p (jid=%d).",
              pr, pr->pr_id));
  #else
-       refcount_release(&pr>pr_ref);
+       refcount_release(&pr->pr_ref);
  #endif
  }
Received on Sun Feb 21 2021 - 18:52:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC