diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-12-06 15:39:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-04 14:00:14 +0100 |
commit | 1f8b45f101ef715f5574bff6b51d5617097df0f7 (patch) | |
tree | d96dcf2a7369d3fd877c70b8a98888134ac26d87 /net/ipv4 | |
parent | 343f3056b542cf9c64c18c43a764752067887b14 (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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions