diff options
author | harti <harti@FreeBSD.org> | 2003-07-18 16:36:41 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-18 16:36:41 +0000 |
commit | 8e8000965f7d1e6948aa129479a27405d8ef5914 (patch) | |
tree | 8338cc17ab4155bdcc122f547da49c765f4158e2 /sys/netatm/atm_subr.c | |
parent | cc85cf676e91fc78a1a6a736affcf63c4a2bdca0 (diff) | |
download | FreeBSD-src-8e8000965f7d1e6948aa129479a27405d8ef5914.zip FreeBSD-src-8e8000965f7d1e6948aa129479a27405d8ef5914.tar.gz |
Fix a number of occurences of calling uma_zalloc() with neither
M_WAITOK nor M_NOWAIT.
Diffstat (limited to 'sys/netatm/atm_subr.c')
-rw-r--r-- | sys/netatm/atm_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/atm_subr.c b/sys/netatm/atm_subr.c index 4ee7e1a..901de8f 100644 --- a/sys/netatm/atm_subr.c +++ b/sys/netatm/atm_subr.c @@ -384,7 +384,7 @@ atm_stack_enq(cmd, func, token, cvp, arg1, arg2) /* * Get a new queue entry for this call */ - sqp = uma_zalloc(atm_stackq_zone, M_ZERO); + sqp = uma_zalloc(atm_stackq_zone, M_NOWAIT | M_ZERO); if (sqp == NULL) { (void) splx(s); return (ENOMEM); |