diff options
author | Arseny Krasnov <arseny.krasnov@kaspersky.com> | 2021-06-11 14:13:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-11 23:32:47 +0300 |
commit | 53efbba12cc7ea2aa47d888532fdc1b3b43afef0 (patch) | |
tree | 0b284baacb6314355d9ec06b3f2003d368e7c88b /drivers/vhost/vsock.c | |
parent | 9ac841f5e9f261245d9d2841ad123566bd160a6e (diff) | |
download | linux-53efbba12cc7ea2aa47d888532fdc1b3b43afef0.tar.xz |
virtio/vsock: enable SEQPACKET for transport
To make transport work with SOCK_SEQPACKET add two things:
1) SOCK_SEQPACKET ops for virtio transport and 'seqpacket_allow()'
callback.
2) Handling of SEQPACKET bit: guest tries to negotiate it with vhost,
so feature will be enabled only if bit is negotiated with device.
Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost/vsock.c')
0 files changed, 0 insertions, 0 deletions