When generating a phase II ARP lookup from aarpwhohas(), use a

non-sleeping mbuf allocation.

MFC after:	1 week
This commit is contained in:
Robert Watson 2005-02-22 14:37:22 +00:00
parent 311ee468b2
commit f5cc6677c1

View File

@ -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;
}