MFC (by andre)

| Use the correct mbuf type for MGET().
|
| Revision  Changes    Path
| 1.28      +1 -1      src/sys/netatalk/ddp_output.c

Approved by:	re (scottl)
This commit is contained in:
delphij 2005-10-09 04:22:03 +00:00
parent bc89d0daf4
commit c54b3c27f5

View File

@ -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");