linux-sg2042/drivers/vhost
Peng Tao c4587631c7 vhost-vsock: fix orphan connection reset
local_addr.svm_cid is host cid. We should check guest cid instead,
which is remote_addr.svm_cid. Otherwise we end up resetting all
connections to all guests.

Cc: stable@vger.kernel.org [4.8+]
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-08 21:24:30 -05:00
..
Kconfig vhost: split out vringh Kconfig 2016-08-02 16:54:28 +03:00
Kconfig.vringh vhost: split out vringh Kconfig 2016-08-02 16:54:28 +03:00
Makefile VSOCK: Add Makefile and Kconfig 2016-08-02 02:57:30 +03:00
net.c virtio/vhost: new features for 4.8 2016-08-06 09:20:13 -04:00
scsi.c vhost/scsi: fix reuse of &vq->iov[out] in response 2016-08-23 17:16:57 +03:00
test.c Merge 4.8-rc5 into char-misc-next 2016-09-05 08:04:07 +02:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: detect 32 bit integer wrap around 2016-08-02 16:54:28 +03:00
vhost.h vhost: new device IOTLB API 2016-08-02 16:53:54 +03:00
vringh.c vringh: update for virtio 1.0 APIs 2014-12-15 23:49:28 +02:00
vsock.c vhost-vsock: fix orphan connection reset 2016-12-08 21:24:30 -05:00