diff options
author | Baruch Siach <baruch@tkos.co.il> | 2008-12-02 05:07:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-03 21:16:06 -0800 |
commit | 5176da7e5318669220e4d2fa856223054a3efc9f (patch) | |
tree | 849303631cc7df172a6ce8c89d8ebfbf18ec42fc /drivers/net/Space.c | |
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>
Diffstat (limited to 'drivers/net/Space.c')
0 files changed, 0 insertions, 0 deletions