commit | 8a3cc29c316c17de590e3ff8b59f3d6cbfd37b0a | [log] [tgz] |
---|---|---|
author | Stefano Garzarella <sgarzare@redhat.com> | Fri Dec 06 15:39:12 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 07 11:59:51 2019 -0800 |
tree | c7a7a62ee049ad105dae9ec0ae6943549e375f34 | |
parent | fafc5db28a2ff39092bafe8ac9b8b19c4904f633 [diff] |
vhost/vsock: accept only packets with the right dst_cid 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@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>