diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_ix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c index 1820b366000..a69d669a241 100644 --- a/sys/dev/pci/if_ix.c +++ b/sys/dev/pci/if_ix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ix.c,v 1.153 2019/02/21 03:16:47 dlg Exp $ */ +/* $OpenBSD: if_ix.c,v 1.154 2019/02/26 03:09:50 dlg Exp $ */ /****************************************************************************** @@ -2389,8 +2389,8 @@ ixgbe_get_buf(struct rx_ring *rxr, int i) if (!mp) return (ENOBUFS); + mp->m_data += (mp->m_ext.ext_size - sc->rx_mbuf_sz); mp->m_len = mp->m_pkthdr.len = sc->rx_mbuf_sz; - m_adj(mp, ETHER_ALIGN); error = bus_dmamap_load_mbuf(rxr->rxdma.dma_tag, rxbuf->map, mp, BUS_DMA_NOWAIT); |