summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/esp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/esp_output.c')
-rw-r--r--sys/netinet6/esp_output.c6
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));
OpenPOWER on IntegriCloud