Now that we can call kmem_malloc without Giant it should be safe

to do mbuf allocation without Giant, so remove the GIANT_REQUIRED
from mb_alloc in the M_TRYWAIT case.
This commit is contained in:
David Malone 2003-07-27 14:19:23 +00:00
parent ce92afe1ec
commit e41cbeba6d

View File

@ -630,8 +630,6 @@ mb_alloc(struct mb_lstmngr *mb_list, int how, short type, short persist,
how = M_TRYWAIT;
}
}
if ((flags & M_DONTWAIT) == 0)
GIANT_REQUIRED;
#endif
m = NULL;