summaryrefslogtreecommitdiff
path: root/sys/netinet6/ipcomp_output.c
diff options
context:
space:
mode:
authorBosko Milekic <bmilekic@FreeBSD.org>2002-12-19 22:58:27 +0000
committerBosko Milekic <bmilekic@FreeBSD.org>2002-12-19 22:58:27 +0000
commit86fea6be59ad2f1fb3bb539eb35ae7bf9ce276c0 (patch)
treefb78678839efbdec9c58873ff5e7df1cf42aa7f5 /sys/netinet6/ipcomp_output.c
parent9dbbb2829e57340aef670a1b9b522a4db9c01e3a (diff)
Notes
Diffstat (limited to 'sys/netinet6/ipcomp_output.c')
-rw-r--r--sys/netinet6/ipcomp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ipcomp_output.c b/sys/netinet6/ipcomp_output.c
index 009b01e02e33..71e5755c986d 100644
--- a/sys/netinet6/ipcomp_output.c
+++ b/sys/netinet6/ipcomp_output.c
@@ -171,12 +171,12 @@ ipcomp_output(m, nexthdrp, md, isr, af)
* compromise two m_copym(). we will be going through every byte of
* the payload during compression process anyways.
*/
- mcopy = m_copym(m, 0, M_COPYALL, M_NOWAIT);
+ mcopy = m_copym(m, 0, M_COPYALL, M_DONTWAIT);
if (mcopy == NULL) {
error = ENOBUFS;
return 0;
}
- md0 = m_copym(md, 0, M_COPYALL, M_NOWAIT);
+ md0 = m_copym(md, 0, M_COPYALL, M_DONTWAIT);
if (md0 == NULL) {
m_freem(mcopy);
error = ENOBUFS;