diff options
author | alfred <alfred@FreeBSD.org> | 2003-01-21 08:56:16 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-01-21 08:56:16 +0000 |
commit | bf8e8a6e8f0bd9165109f0a258730dd242299815 (patch) | |
tree | f16a2fb9fa7a7fbc4c19e981d278d5f6eb53234d /sys/netinet6/esp_output.c | |
parent | 2180deee00350fff613a1d1d1328eddc4c0ba9c8 (diff) | |
download | FreeBSD-src-bf8e8a6e8f0bd9165109f0a258730dd242299815.zip FreeBSD-src-bf8e8a6e8f0bd9165109f0a258730dd242299815.tar.gz |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Diffstat (limited to 'sys/netinet6/esp_output.c')
-rw-r--r-- | sys/netinet6/esp_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/esp_output.c b/sys/netinet6/esp_output.c index 3e89c5d..5a4932a 100644 --- a/sys/netinet6/esp_output.c +++ b/sys/netinet6/esp_output.c @@ -340,7 +340,7 @@ esp_output(m, nexthdrp, md, isr, af) * after: IP ... ESP IV payload */ if (M_LEADINGSPACE(md) < esphlen || (md->m_flags & M_EXT) != 0) { - MGET(n, M_DONTWAIT, MT_DATA); + MGET(n, M_NOWAIT, MT_DATA); if (!n) { m_freem(m); error = ENOBUFS; @@ -495,7 +495,7 @@ esp_output(m, nexthdrp, md, isr, af) } else { struct mbuf *nn; - MGET(nn, M_DONTWAIT, MT_DATA); + MGET(nn, M_NOWAIT, MT_DATA); if (!nn) { ipseclog((LOG_DEBUG, "esp%d_output: can't alloc mbuf", afnumber)); @@ -624,7 +624,7 @@ esp_output(m, nexthdrp, md, isr, af) } else { struct mbuf *nn; - MGET(nn, M_DONTWAIT, MT_DATA); + MGET(nn, M_NOWAIT, MT_DATA); if (!nn) { ipseclog((LOG_DEBUG, "can't alloc mbuf in esp%d_output", afnumber)); |