1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-03 17:11:32 +00:00

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
This commit is contained in:
Jack F Vogel 2009-06-29 18:17:10 +00:00
parent a73034ef7f
commit 562a924de0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=195168

View File

@ -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);