diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-11-14 12:57:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 05:12:18 +0300 |
commit | 36c5b48b91ac56762ef87e4af76350ed50f119b5 (patch) | |
tree | b647773d8a6e2ea023cfec82be93d32265a22b79 /drivers/opp/ti-opp-supply.c | |
parent | 6a2c0962105ae8ceba182c4f616e0e41d7755591 (diff) | |
download | linux-36c5b48b91ac56762ef87e4af76350ed50f119b5.tar.xz |
vsock: fix bind() behaviour taking care of CID
When we are looking for a socket bound to a specific address,
we also have to take into account the CID.
This patch is useful with multi-transports support because it
allows the binding of the same port with different CID, and
it prevents a connection to a wrong socket bound to the same
port, but with different CID.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/opp/ti-opp-supply.c')
0 files changed, 0 insertions, 0 deletions