netxen: fix race in tx ring acccess
authorDhananjay Phadke <dhananjay@netxen.com>
Tue, 5 May 2009 19:05:06 +0000 (19:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2009 22:33:35 +0000 (15:33 -0700)
Fix the distance check between tx ring producer and consumer that
could lead to tx ring wrap around.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found