From: Baruch Siach Date: Tue, 2 Dec 2008 05:07:01 +0000 (+0000) Subject: enc28j60: Fix sporadic packet loss (corrected again) X-Git-Tag: v2.6.28-rc8~41^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5176da7e5318669220e4d2fa856223054a3efc9f;p=pandora-kernel.git 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 Acked-by: Claudio Lanconelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed