qlge: bugfix: Add missing rx buf clean index on early exit.
authorRon Mercer <ron.mercer@qlogic.com>
Fri, 13 Feb 2009 00:38:34 +0000 (16:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Feb 2009 00:38:34 +0000 (16:38 -0800)
The large receive buffer queue is not properly tracking the current
index in the case where an early exit occurs.  This can happen when a
page alloc or dma mapping fails.  If this occurs the queue will get
out of sync and invalid indexes can be written to the hardware.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found