summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/uniarp_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netatm/uni/uniarp_cache.c')
-rw-r--r--sys/netatm/uni/uniarp_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netatm/uni/uniarp_cache.c b/sys/netatm/uni/uniarp_cache.c
index 3e28912..10b7118 100644
--- a/sys/netatm/uni/uniarp_cache.c
+++ b/sys/netatm/uni/uniarp_cache.c
@@ -117,9 +117,10 @@ uniarp_cache_svc(uip, ip, atm, atmsub, origin)
/*
* If there aren't any entries yet, create one
+ * May be called from netisr - don't wait.
*/
if ((ipuap == NULL) && (nouap == NULL)) {
- ipuap = uma_zalloc(uniarp_zone, M_WAITOK);
+ ipuap = uma_zalloc(uniarp_zone, M_NOWAIT);
if (ipuap == NULL)
return (ENOMEM);
ipuap->ua_dstip.s_addr = ip->s_addr;
OpenPOWER on IntegriCloud