]> git.droids-corp.org - dpdk.git/commit
gpu/cuda: fix memory list cleanup
authorElena Agostini <eagostini@nvidia.com>
Tue, 21 Dec 2021 20:50:42 +0000 (20:50 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Jan 2022 13:17:00 +0000 (14:17 +0100)
commit98ddd04c6aa5b2953709f2707aeaba0461a9ef28
tree29bb4f22a4735d7b65e1938df4c6419dd0e2f332
parent98a54d0ae6c68882e5df180c38f03091d77011f7
gpu/cuda: fix memory list cleanup

Memory list cleanup (called by cuda_mem_free)
was not properly set the new head of the list
when deleting an entry.

Fixes: 1306a73b1958 ("gpu/cuda: introduce CUDA driver")
Cc: stable@dpdk.org
Signed-off-by: Elena Agostini <eagostini@nvidia.com>
drivers/gpu/cuda/cuda.c