diff options
author | Catherine Sullivan <csully@google.com> | 2019-08-02 02:07:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-05 23:18:53 +0300 |
commit | 438b43bdb95d3189e0098919f321c014ed71f410 (patch) | |
tree | 078c6c0e2af1aab70dbe603dac2815355917a3cb /net/smc | |
parent | cff6a327d78b05c98e0d1c4be77225ea2c0bfe8e (diff) | |
download | linux-438b43bdb95d3189e0098919f321c014ed71f410.tar.xz |
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/smc')
0 files changed, 0 insertions, 0 deletions