summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-08-30 16:35:27 +0000
committerandre <andre@FreeBSD.org>2005-08-30 16:35:27 +0000
commit02715a1de8ff9b7eb30ac50221e7a9c2a8e4edd4 (patch)
tree7e741eec720f0000f053dbdc1332204ccc4e8cdd /sys/netinet/ip_input.c
parentf7ffe965a12c9d30f9d3ae5a131fac85b9c4f0c5 (diff)
downloadFreeBSD-src-02715a1de8ff9b7eb30ac50221e7a9c2a8e4edd4.zip
FreeBSD-src-02715a1de8ff9b7eb30ac50221e7a9c2a8e4edd4.tar.gz
Use the correct mbuf type for MGET().
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index eb42a4d..107ef1f 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1601,7 +1601,7 @@ ip_srcroute(m0)
if (opts->ip_nhops == 0)
return (NULL);
- m = m_get(M_DONTWAIT, MT_HEADER);
+ m = m_get(M_DONTWAIT, MT_DATA);
if (m == NULL)
return (NULL);
OpenPOWER on IntegriCloud