diff options
| author | Peng Tao <bergwolf@gmail.com> | 2016-12-09 01:10:46 +0800 |
|---|---|---|
| committer | Alistair Strachan <astrachan@google.com> | 2019-05-14 17:57:00 -0700 |
| commit | e1a839896df5e654f733dc3573c68a8e16f58d74 (patch) | |
| tree | 5e15a899dc293e2e99a54a88fcdddfdbb37ff474 /scripts/objdiff | |
| parent | 4433966abe39e822b4e14b0347acb8bb65f01704 (diff) | |
UPSTREAM: 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>
(cherry picked from commit c4587631c7bad47c045e081d1553cd73a23be59a)
Bug: 121166534
Test: Ran cuttlefish with android-4.4 + vsock adb tunnel
Signed-off-by: Cody Schuffelen <schuffelen@google.com>
Change-Id: Ib9bf9e1f0befa71f4ebc0ff0cdcef7115a41b110
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
