mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue