diff options
author | jfv <jfv@FreeBSD.org> | 2009-06-29 18:17:10 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2009-06-29 18:17:10 +0000 |
commit | a0406a12532b60a577e09907c61942649ac1c59f (patch) | |
tree | a4d4aed79c3dd82d69bf40433a68e45074b678bb | |
parent | 242d1f11afe79e3633bfd335f3eb01bdb4ff667c (diff) | |
download | FreeBSD-src-a0406a12532b60a577e09907c61942649ac1c59f.zip FreeBSD-src-a0406a12532b60a577e09907c61942649ac1c59f.tar.gz |
Type problem when FreeBSD is in a virtualized environment, the
result was when the RX index wrapped it was converted into some
sort of gibberish and written into the RDT register, effectively
killing the RX side of the thing :)
Approved by: re
-rw-r--r-- | sys/dev/e1000/if_em.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 14d82f0..8890297 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -4446,7 +4446,7 @@ em_rxeof(struct adapter *adapter, int count) struct mbuf *mp; u8 status, accept_frame = 0, eop = 0; u16 len, desc_len, prev_len_adj; - u32 i, rx_sent = 0; + int i, rx_sent = 0; struct e1000_rx_desc *current_desc; EM_RX_LOCK(adapter); |