linux-stable/drivers/vhost
Stefano Garzarella c483ef739b vhost/vsock: accept only packets with the right dst_cid
[ Upstream commit 8a3cc29c31 ]

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>
2020-01-04 19:13:36 +01:00
..
Kconfig vhost: allow vhost-scsi driver to be built-in 2018-08-22 01:01:32 +03:00
Kconfig.vringh
Makefile
net.c vhost_net: fix possible infinite loop 2019-08-04 09:30:55 +02:00
scsi.c vhost: scsi: add weight support 2019-08-04 09:30:55 +02:00
test.c vhost/test: fix build for vhost test - again 2019-09-16 08:21:40 +02:00
test.h
vhost.c vhost: make sure log_num < in_num 2019-09-16 08:22:25 +02:00
vhost.h vhost: introduce vhost_exceeds_weight() 2019-08-04 09:30:55 +02:00
vringh.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
vsock.c vhost/vsock: accept only packets with the right dst_cid 2020-01-04 19:13:36 +01:00