Re: [PATCH-RESEND] vhost-vsock: fix orphan connection reset

2016-12-08 Thread David Miller
From: Peng Tao Date: Fri, 9 Dec 2016 01:10:46 +0800 > 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: sta...@vger.kernel.org [4.8+] > Reviewed-by: Stefan Hajnoczi > Signed-

[PATCH-RESEND] vhost-vsock: fix orphan connection reset

2016-12-08 Thread Peng Tao
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: sta...@vger.kernel.org [4.8+] Reviewed-by: Stefan Hajnoczi Signed-off-by: Peng Tao --- resending because the last attempt looks to be