mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
Use the correct mbuf type for MGET().
This commit is contained in:
parent
e72b668b69
commit
71cb29001b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149633
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user