When generating a phase II ARP lookup from aarpwhohas(), use a
non-sleeping mbuf allocation. MFC after: 1 week
This commit is contained in:
parent
311ee468b2
commit
f5cc6677c1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user