commit | cdab23b7017693c00dd69fa28bcdf5b0434b3838 | [log] [tgz] |
---|---|---|
author | Sathya Perla <sathyap@serverengines.com> | Mon Aug 10 03:43:23 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 12 22:13:17 2009 -0700 |
tree | 2956d92941909e436bfaca87474025fadd519d1d | |
parent | a8e9179a7de196d37410fd3e9528081f22c70a4e [diff] |
be2net: fix bad queue traversal in be_rx_q_clean() Using "for(tail != head)" to traverse a queue from tail to head fails in the case of a fully filled queue. Use "for(used != 0)" instead. Signed-off-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>