VSOCK: Detach QP check should filter out non matching QPs.
The check in vmci_transport_peer_detach_cb should only allow a
detach when the qp handle of the transport matches the one in
the detach message.
Testing: Before this change, a detach from a peer on a different
socket would cause an active stream socket to register a detach.
Reviewed-by: George Zhang <georgezhang@vmware.com>
Signed-off-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit
8ab18d71de8b07d2c4d6f984b718418c09ea45c5)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
(cherry picked from commit
3cab04cb1262c0f6119e95a998d8f0ce3b0dd09f)
Orabug:
23718522
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>