aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorStefano Garzarella <[email protected]>2023-10-31 15:43:39 +0100
committerMichael S. Tsirkin <[email protected]>2023-11-01 09:31:16 -0400
commit0d82410252ea324f0064e75b9865bb74cccc1dda (patch)
tree7e1aa0a8067b5cfc86296add89646cc5f371d5b1 /tools/testing/selftests/bpf/progs/test_autoload.c
parent3503895788d402d6a3814085ed582c364ec3e903 (diff)
vdpa_sim_blk: allocate the buffer zeroed
Deleting and recreating a device can lead to having the same content as the old device, so let's always allocate buffers completely zeroed out. Fixes: abebb16254b3 ("vdpa_sim_blk: support shared backend") Suggested-by: Qing Wang <[email protected]> Signed-off-by: Stefano Garzarella <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Eugenio PĂ©rez <[email protected]> Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions