mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Remove a KASSERT() that has fulfilled its purpose. Note that it did
cause problems by tripping on shutdown (reboot(), not the socket operation :). Cause is still uncertain, but the panic isn't really necessary here.
This commit is contained in:
parent
e3f7c52da1
commit
56f0bef78c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52465
@ -159,7 +159,6 @@ chgsbsize(uid, diff)
|
||||
}
|
||||
if (uip) {
|
||||
uip->ui_sbsize += diff;
|
||||
KASSERT(uip->ui_sbsize >= 0, ("ui_sbsize (%d) < 0", uid));
|
||||
if (uip->ui_sbsize == 0 && uip->ui_proccnt == 0) {
|
||||
LIST_REMOVE(uip, ui_hash);
|
||||
FREE(uip, M_PROC);
|
||||
|
Loading…
Reference in New Issue
Block a user