diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-02-22 14:37:22 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-02-22 14:37:22 +0000 |
commit | b09090425ac9ba4d37d45dcf8948dcb26015700a (patch) | |
tree | cbb5659ec705dec9b74170df88091d293ed014e7 /sys/netatalk | |
parent | 1a0fc144d02f477b88b02872efff19d7410eef02 (diff) | |
download | FreeBSD-src-b09090425ac9ba4d37d45dcf8948dcb26015700a.zip FreeBSD-src-b09090425ac9ba4d37d45dcf8948dcb26015700a.tar.gz |
When generating a phase II ARP lookup from aarpwhohas(), use a
non-sleeping mbuf allocation.
MFC after: 1 week
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/aarp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c index 7e0c96a..4d2a4e1 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; } |