diff options
author | Baruch Siach <[email protected]> | 2008-12-02 05:07:01 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2008-12-03 21:16:06 -0800 |
commit | 5176da7e5318669220e4d2fa856223054a3efc9f (patch) | |
tree | 849303631cc7df172a6ce8c89d8ebfbf18ec42fc /lib/string_helpers.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 <[email protected]>
Acked-by: Claudio Lanconelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions