commit | 0a8f421b7a224447ac4ebdef466ad6151023b33d | [log] [tgz] |
---|---|---|
author | Stefano Garzarella <sgarzare@redhat.com> | Fri Dec 06 15:39:12 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 04 13:41:12 2020 +0100 |
tree | 21528a9be7ccefa6a5847f5703d7831c13ac5f8f | |
parent | 971932afde4ee53a7d386e898db0021111e0603b [diff] |
vhost/vsock: accept only packets with the right dst_cid [ Upstream commit 8a3cc29c316c17de590e3ff8b59f3d6cbfd37b0a ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>