summaryrefslogtreecommitdiffstats
path: root/sys/netns/ns_ip.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
committerimp <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
commitcf874b345d0f766fb64cf4737e1c85ccc78d2bee (patch)
tree9e20e320fe15ae4bf68f8335fcf9d3e71d3b3614 /sys/netns/ns_ip.c
parentb72619cecb8265d3efb3781b0acff1380762c173 (diff)
downloadFreeBSD-src-cf874b345d0f766fb64cf4737e1c85ccc78d2bee.zip
FreeBSD-src-cf874b345d0f766fb64cf4737e1c85ccc78d2bee.tar.gz
Back out M_* changes, per decision of the TRB.
Approved by: trb
Diffstat (limited to 'sys/netns/ns_ip.c')
-rw-r--r--sys/netns/ns_ip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netns/ns_ip.c b/sys/netns/ns_ip.c
index b566196..55d1a9f 100644
--- a/sys/netns/ns_ip.c
+++ b/sys/netns/ns_ip.c
@@ -168,7 +168,7 @@ idpip_input(m, ifp)
if (nsip_lastin) {
m_freem(nsip_lastin);
}
- nsip_lastin = m_copym(m, 0, (int)M_COPYALL, M_NOWAIT);
+ nsip_lastin = m_copym(m, 0, (int)M_COPYALL, M_DONTWAIT);
}
/*
* Get IP and IDP header together in first mbuf.
@@ -251,7 +251,7 @@ nsipoutput(ifn, m, dst)
/* following clause not necessary on vax */
if (3 & (int)m->m_data) {
/* force longword alignment of ip hdr */
- struct mbuf *m0 = m_gethdr(MT_HEADER, M_NOWAIT);
+ struct mbuf *m0 = m_gethdr(MT_HEADER, M_DONTWAIT);
if (m0 == 0) {
m_freem(m);
return (ENOBUFS);
@@ -263,7 +263,7 @@ nsipoutput(ifn, m, dst)
m0->m_pkthdr.len = m0->m_len + m->m_len;
m->m_flags &= ~M_PKTHDR;
} else {
- M_PREPEND(m, sizeof (struct ip), M_NOWAIT);
+ M_PREPEND(m, sizeof (struct ip), M_DONTWAIT);
if (m == 0)
return (ENOBUFS);
}
OpenPOWER on IntegriCloud