diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2016-07-28 15:36:31 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-08-02 02:57:28 +0300 |
commit | 6773b7dc39f165bd9d824b50ac52cbb3f87d53c8 (patch) | |
tree | eec9a1d84ed6d1c3113cd35c47887d6dd42d4448 /include/linux/virtio_vsock.h | |
parent | 0b01aeb3d2fbf16787f0c9629f4ca52ae792f732 (diff) | |
download | lwn-6773b7dc39f165bd9d824b50ac52cbb3f87d53c8.tar.gz lwn-6773b7dc39f165bd9d824b50ac52cbb3f87d53c8.zip |
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>
Diffstat (limited to 'include/linux/virtio_vsock.h')
0 files changed, 0 insertions, 0 deletions