diff options
author | Peng Tao <bergwolf@gmail.com> | 2016-12-08 18:10:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-09 03:24:30 +0100 |
commit | c4587631c7bad47c045e081d1553cd73a23be59a (patch) | |
tree | dca17e05e83359df10a2786707d633314a08b99f /net/mac80211/cfg.c | |
parent | Merge tag 'linux-can-fixes-for-4.9-20161208' of git://git.kernel.org/pub/scm/... (diff) | |
download | linux-c4587631c7bad47c045e081d1553cd73a23be59a.tar.xz linux-c4587631c7bad47c045e081d1553cd73a23be59a.zip |
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>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions