diff options
author | Jorgen Hansen <jhansen@vmware.com> | 2016-04-05 01:59:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-06 16:39:09 -0400 |
commit | 8ab18d71de8b07d2c4d6f984b718418c09ea45c5 (patch) | |
tree | da4cda935f436aa8beeba79bd6d384084b61de9b /lib/test_bpf.c | |
parent | 52f95bbfcf72126a9f90a386a974fcbe6c6cae46 (diff) | |
download | lwn-8ab18d71de8b07d2c4d6f984b718418c09ea45c5.tar.gz lwn-8ab18d71de8b07d2c4d6f984b718418c09ea45c5.zip |
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>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions