mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Killed non-sensical call to splimp/splx in crfree().
This commit is contained in:
parent
1f7ce4e6c9
commit
7aef05003a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30522
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_prot.c 8.6 (Berkeley) 1/21/94
|
||||
* $Id: kern_prot.c,v 1.34 1997/08/19 06:00:27 peter Exp $
|
||||
* $Id: kern_prot.c,v 1.35 1997/10/12 20:23:54 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -810,12 +810,8 @@ void
|
||||
crfree(cr)
|
||||
struct ucred *cr;
|
||||
{
|
||||
int s;
|
||||
|
||||
s = splimp(); /* ??? */
|
||||
if (--cr->cr_ref == 0)
|
||||
FREE((caddr_t)cr, M_CRED);
|
||||
(void) splx(s);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user