Re: [PATCH] vhost/vsock: accept only packets with the right dst_cid

From: David Miller
Date: Sat Dec 07 2019 - 15:00:10 EST


From: Stefano Garzarella <sgarzare@xxxxxxxxxx>
Date: Fri, 6 Dec 2019 15:39:12 +0100

> When we receive a new packet from the guest, we check if the
> src_cid is correct, but we forgot to check the dst_cid.
>
> The host should accept only packets where dst_cid is
> equal to the host CID.
>
> Signed-off-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>

Applied.