commit | 5176da7e5318669220e4d2fa856223054a3efc9f | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Tue Dec 02 05:07:01 2008 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 03 21:16:06 2008 -0800 |
tree | 849303631cc7df172a6ce8c89d8ebfbf18ec42fc | |
parent | bd0914104c61a852baf469b2d807322e5d0459b4 [diff] |
enc28j60: Fix sporadic packet loss (corrected again) Packet data read from the RX buffer the when the RSV is at the end of the RX buffer does not warp around. This causes packet loss, as the actual data is never read. Fix this by calculating the right packet data location. Thanks to Shachar Shemesh for suggesting the fix. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Claudio Lanconelli <lanconelli.claudio@eptar.com> Signed-off-by: David S. Miller <davem@davemloft.net>