summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorCatherine Sullivan <csully@google.com>2019-08-01 16:07:31 -0700
committerDavid S. Miller <davem@davemloft.net>2019-08-05 13:18:53 -0700
commit438b43bdb95d3189e0098919f321c014ed71f410 (patch)
tree078c6c0e2af1aab70dbe603dac2815355917a3cb /net
parentcff6a327d78b05c98e0d1c4be77225ea2c0bfe8e (diff)
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: Catherine Sullivan <csully@google.com> Reviewed-by: Sagi Shahar <sagis@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions