From f5cc6677c1ddd79af62a48da4433fcdf50340f6c Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Tue, 22 Feb 2005 14:37:22 +0000 Subject: [PATCH] When generating a phase II ARP lookup from aarpwhohas(), use a non-sleeping mbuf allocation. MFC after: 1 week --- sys/netatalk/aarp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c index 7e0c96a0bbec..4d2a4e1ac3f2 100644 --- a/sys/netatalk/aarp.c +++ b/sys/netatalk/aarp.c @@ -216,7 +216,7 @@ aarpwhohas(struct ifnet *ifp, struct sockaddr_at *sat) if (aa->aa_flags & AFA_PHASE2) { bcopy(atmulticastaddr, eh->ether_dhost, sizeof(eh->ether_dhost)); eh->ether_type = htons(sizeof(struct llc) + sizeof(struct ether_aarp)); - M_PREPEND(m, sizeof(struct llc), M_TRYWAIT); + M_PREPEND(m, sizeof(struct llc), M_DONTWAIT); if (m == NULL) { return; }