Skip to content
Commit 438b43bd authored by Catherine Sullivan's avatar Catherine Sullivan Committed by David S. Miller
Browse files

gve: Fix case where desc_cnt and data_cnt can get out of sync



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: default avatarCatherine Sullivan <csully@google.com>
Reviewed-by: default avatarSagi Shahar <sagis@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cff6a327
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment