diff options
| author | Michal Luczaj <[email protected]> | 2024-12-19 09:49:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-23 18:28:01 +0000 |
| commit | f66ef469a72d19764f943067307a570f83b00dca (patch) | |
| tree | 722c2cffb54b38922a5c54afc8c4c696a53df6e0 /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | vsock/test: Adapt send_byte()/recv_byte() to handle MSG_ZEROCOPY (diff) | |
| download | kernel-f66ef469a72d19764f943067307a570f83b00dca.tar.gz kernel-f66ef469a72d19764f943067307a570f83b00dca.zip | |
vsock/test: Add test for accept_queue memory leak
Attempt to enqueue a child after the queue was flushed, but before
SOCK_DONE flag has been set.
Test tries to produce a memory leak, kmemleak should be employed. Dealing
with a race condition, test by its very nature may lead to a false
negative.
Fixed by commit d7b0ff5a8667 ("virtio/vsock: Fix accept_queue memory
leak").
Reviewed-by: Stefano Garzarella <[email protected]>
Signed-off-by: Michal Luczaj <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
