diff options
| author | Alexander Duyck <[email protected]> | 2017-10-22 01:12:29 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-10-26 14:42:58 +0000 |
| commit | 62b4c6694dfd3821bd5ea5bed48238bbabd5fe8b (patch) | |
| tree | 1d5d63dd8b241b6ef231cb528f9a39ba48da5a1c /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | i40e: Fix incorrect use of tx_itr_setting when checking for Rx ITR setup (diff) | |
| download | kernel-62b4c6694dfd3821bd5ea5bed48238bbabd5fe8b.tar.gz kernel-62b4c6694dfd3821bd5ea5bed48238bbabd5fe8b.zip | |
i40e: Add programming descriptors to cleaned_count
This patch updates the i40e driver to include programming descriptors in
the cleaned_count. Without this change it becomes possible for us to leak
memory as we don't trigger a large enough allocation when the time comes to
allocate new buffers and we end up overwriting a number of rx_buffers equal
to the number of programming descriptors we encountered.
Fixes: 0e626ff7ccbf ("i40e: Fix support for flow director programming status")
Signed-off-by: Alexander Duyck <[email protected]>
Tested-by: Anders K. Pedersen <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
