Thread (6 messages) 6 messages, 4 authors, 2023-11-02

Re: [PATCH net] virtio/vsock: Fix uninit-value in virtio_transport_recv_pkt()

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-11-02 05:20:53
Also in: kvm, lkml

On Fri, 27 Oct 2023 00:01:54 +0900 Shigeru Yoshida wrote:
This issue occurs because the `buf_alloc` and `fwd_cnt` fields of the
`struct virtio_vsock_hdr` are not initialized when a new skb is allocated
in `virtio_transport_alloc_skb()`. This patch resolves the issue by
initializing these fields during allocation.
We didn't manage to apply this before the merge window, and now the
trees have converged. Patch no longer applies cleanly to net.
Please rebase & repost.
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help