summaryrefslogtreecommitdiffstats
path: root/sys/netatalk
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-08-30 16:28:46 +0000
committerandre <andre@FreeBSD.org>2005-08-30 16:28:46 +0000
commitb31f736426461ec1afea01ce9f2037d84853918d (patch)
treec41e3bac7d7179122ed834e4f45a4689e2a927b0 /sys/netatalk
parent84937ac44f523f9e06b5dd5dcc076c5fe78a64d3 (diff)
downloadFreeBSD-src-b31f736426461ec1afea01ce9f2037d84853918d.zip
FreeBSD-src-b31f736426461ec1afea01ce9f2037d84853918d.tar.gz
Use the correct mbuf type for MGET().
Diffstat (limited to 'sys/netatalk')
-rw-r--r--sys/netatalk/ddp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatalk/ddp_output.c b/sys/netatalk/ddp_output.c
index 749c4c6..357d707 100644
--- a/sys/netatalk/ddp_output.c
+++ b/sys/netatalk/ddp_output.c
@@ -200,7 +200,7 @@ ddp_route(struct mbuf *m, struct route *ro)
* packets end up poorly aligned due to the three byte elap header.
*/
if (!(aa->aa_flags & AFA_PHASE2)) {
- MGET(m0, M_DONTWAIT, MT_HEADER);
+ MGET(m0, M_DONTWAIT, MT_DATA);
if (m0 == NULL) {
m_freem(m);
printf("ddp_route: no buffers\n");
OpenPOWER on IntegriCloud