diff options
Diffstat (limited to 'sys/dev/pci/if_ix.c')
-rw-r--r-- | sys/dev/pci/if_ix.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c index b12507f6ac9..9a277f85ff5 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.26 2009/08/10 19:41:05 deraadt Exp $ */ +/* $OpenBSD: if_ix.c,v 1.27 2009/08/12 14:39:05 dlg Exp $ */ /****************************************************************************** @@ -2631,10 +2631,12 @@ ixgbe_rxeof(struct rx_ring *rxr, int count) rxr->last_rx_desc_filled); } - m_cluncount(m, 1); rxr->rx_ndescs--; + if (m_cluncount(m) == 0) + accept_frame = 1; + else + accept_frame = 0; - accept_frame = 1; prev_len_adj = 0; desc_len = letoh16(rxdesc->wb.upper.length); |