>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@mellanox.com>2016-06-30 17:34:40 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-01 06:12:03 -0400
commit5adff6a0886273eb426360400f120443833760a3 (patch)
tree67173eff6c23ce62903dd3ed8731ab7529eea5e5
parentc1d4d2e92ad670168a17a57dfa182a5a5baa72d4 (diff)
net/mlx5: Fix incorrect page count when in internal error
Change page cleanup flow when in internal error to properly decrement the page counts when reclaiming pages. The prevents timing out waiting for extra pages that were actually cleaned up previously. fixes: 89d44f0a6c73 ('net/mlx5_core: Add pci error handlers to mlx5_core driver') Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>