aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-12-10 11:43:06 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-11 15:01:23 -0800
commit408624af4c89989117bb2c6517bd50b7708a2fcd (patch)
tree142a06268b10d4066e8315b857c299ebc5c1cba6 /net/unix/af_unix.c
parentvsock: add vsock_loopback transport (diff)
downloadwireguard-linux-408624af4c89989117bb2c6517bd50b7708a2fcd.tar.xz
wireguard-linux-408624af4c89989117bb2c6517bd50b7708a2fcd.zip
vsock: use local transport when it is loaded
Now that we have a transport that can handle the local communication, we can use it when it is loaded. A socket will use the local transport (loopback) when the remote CID is: - equal to VMADDR_CID_LOCAL - or equal to transport_g2h->get_local_cid(), if transport_g2h is loaded (this allows us to keep the same behavior implemented by virtio and vmci transports) - or equal to VMADDR_CID_HOST, if transport_g2h is not loaded Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions