summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netatalk/ddp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netatalk/ddp_output.c b/sys/netatalk/ddp_output.c
index 4f8e87dd..7d83e85 100644
--- a/sys/netatalk/ddp_output.c
+++ b/sys/netatalk/ddp_output.c
@@ -57,7 +57,7 @@ ddp_output(struct mbuf *m, struct socket *so)
SOCK_UNLOCK(so);
#endif
- M_PREPEND(m, sizeof(struct ddpehdr), M_TRYWAIT);
+ M_PREPEND(m, sizeof(struct ddpehdr), M_DONTWAIT);
if (m == NULL)
return (ENOBUFS);
@@ -200,7 +200,7 @@ ddp_route(struct mbuf *m, struct route *ro)
* packets end up poorly aligned due to the three byte elap header.
*/
if (!(aa->aa_flags & AFA_PHASE2)) {
- MGET(m0, M_TRYWAIT, MT_HEADER);
+ MGET(m0, M_DONTWAIT, MT_HEADER);
if (m0 == NULL) {
m_freem(m);
printf("ddp_route: no buffers\n");
OpenPOWER on IntegriCloud