mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 13:23:45 +00:00
desc_cnt and data_cnt should always be equal. In the case of a dropped packet desc_cnt was still getting updated (correctly), data_cnt was not. To eliminate this bug and prevent it from recurring this patch combines them into one ring level cnt. Signed-off-by: Catherine Sullivan <[email protected]> Reviewed-by: Sagi Shahar <[email protected]> Signed-off-by: David S. Miller <[email protected]>