summaryrefslogtreecommitdiff
path: root/include/linux/virtio_vsock.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2016-07-28 15:36:31 +0100
committerAlistair Strachan <astrachan@google.com>2019-05-14 17:56:56 -0700
commitf477c730c32ccb3fd1c8e29bb1520edfbb5f1bfb (patch)
tree227ab3d890f96231ac5e1d5a0bc9db1b34c0a95a /include/linux/virtio_vsock.h
parentbcb6d9e1950c8e2d301e0713bf25e29bcc70bf69 (diff)
UPSTREAM: VSOCK: defer sock removal to transports
The virtio transport will implement graceful shutdown and the related SO_LINGER socket option. This requires orphaning the sock but keeping it in the table of connections after .release(). This patch adds the vsock_remove_sock() function and leaves it up to the transport when to remove the sock. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> (cherry picked from commit 6773b7dc39f165bd9d824b50ac52cbb3f87d53c8) Bug: 121166534 Test: Ran cuttlefish with android-4.4 + VSOCKETS, VMWARE_VMCI_VSOCKETS Signed-off-by: Cody Schuffelen <schuffelen@google.com> Change-Id: I889cdbc0b1de8d2ff54a70ab7a6b4623edb3de06
Diffstat (limited to 'include/linux/virtio_vsock.h')
0 files changed, 0 insertions, 0 deletions