acrn-kernel/drivers/vhost
Prathu Baronia 4675661672 vhost: use kzalloc() instead of kmalloc() followed by memset()
commit 4d8df0f5f7 upstream.

Use kzalloc() to allocate new zeroed out msg node instead of
memsetting a node allocated with kmalloc().

Signed-off-by: Prathu Baronia <prathubaronia2011@gmail.com>
Message-Id: <20230522085019.42914-1-prathubaronia2011@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Ajay Kaher <ajay.kaher@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-16 19:06:31 +01:00
..
Kconfig
Makefile
iotlb.c
net.c
scsi.c
test.c
test.h
vdpa.c vhost-vdpa: fix use after free in vhost_vdpa_probe() 2023-11-28 17:07:04 +00:00
vhost.c vhost: use kzalloc() instead of kmalloc() followed by memset() 2024-02-16 19:06:31 +01:00
vhost.h
vringh.c
vsock.c virtio/vsock: replace virtio_vsock_pkt with sk_buff 2023-11-20 11:52:17 +01:00