aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/agere
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 /drivers/net/ethernet/agere
parentipv6: Fix unbalanced rcu locking in rt6_update_exception_stamp_rt (diff)
downloadlinux-dev-438b43bdb95d3189e0098919f321c014ed71f410.tar.xz
linux-dev-438b43bdb95d3189e0098919f321c014ed71f410.zip
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 'drivers/net/ethernet/agere')
0 files changed, 0 insertions, 0 deletions