summaryrefslogtreecommitdiff
path: root/include/linux/mbus.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2016-07-28 15:36:31 +0100
committerAlistair Strachan <astrachan@google.com>2019-01-15 17:08:35 -0800
commit716adf173f7fae9319fc6f30325fe2264ec2cfcd (patch)
treeb825c75aefe4a83b725b4ac126dafc0eebd1be76 /include/linux/mbus.h
parent3fc44c12b2c42f5ca8474e252fb41f4cde9824c9 (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/mbus.h')
0 files changed, 0 insertions, 0 deletions