From: Michael Chan Date: Tue, 21 Mar 2006 01:49:02 +0000 (-0800) Subject: [BNX2]: Fix bug when rx ring is full X-Git-Tag: v2.6.17-rc1~1175^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=236b6394bb49ea58465c6f935a286d2342576f8d;p=pandora-kernel.git [BNX2]: Fix bug when rx ring is full Fix the rx code path that does not handle the full rx ring correctly. When the rx ring is set to the max. size (i.e. 255), the consumer and producer indices will be the same when completing an rx packet. Fix the rx code to handle this condition properly. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed