mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
plugins/amdgpu: Zero ib_info on initialization
This struct was being used un-initialized, meaning it was filled with random garbage. Mea culpa. Signed-off-by: David Francis <David.Francis@amd.com>
This commit is contained in:
parent
6918998897
commit
60ee5ebd9d
1 changed files with 1 additions and 0 deletions
|
|
@ -608,6 +608,7 @@ static int sdma_copy_bo(struct kfd_criu_bo_bucket bo_bucket, FILE *storage_fp,
|
|||
while (bytes_remain > 0) {
|
||||
memset(&cs_req, 0, sizeof(cs_req));
|
||||
memset(&fence, 0, sizeof(fence));
|
||||
memset(&ib_info, 0, sizeof(ib_info));
|
||||
memset(ib, 0, packets_per_buffer * 28);
|
||||
|
||||
if (type == SDMA_OP_VRAM_WRITE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue