summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_xl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index cc4c6d5..50e0502 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -2439,7 +2439,7 @@ xl_encap(sc, c, m_head)
m_new = m_head->m_pkthdr.len > MHLEN ?
m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR) :
- m_get(M_DONTWAIT, MT_DATA);
+ m_gethdr(M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
m_freem(m_head);
printf("xl%d: no memory for tx list\n", sc->xl_unit);
OpenPOWER on IntegriCloud