diff options
author | Bobby Eshleman <bobby.eshleman@bytedance.com> | 2023-03-27 22:11:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-29 10:19:38 +0300 |
commit | 634f1a7110b439c65fd8a809171c1d2d28bcea6f (patch) | |
tree | c177884c45da08c7552518f7215d1d6555dc2863 /net/vmw_vsock/virtio_transport.c | |
parent | 24265c2c91ad6aae9446e18472566cd83e92b602 (diff) | |
download | linux-634f1a7110b439c65fd8a809171c1d2d28bcea6f.tar.xz |
vsock: support sockmap
This patch adds sockmap support for vsock sockets. It is intended to be
usable by all transports, but only the virtio and loopback transports
are implemented.
SOCK_STREAM, SOCK_DGRAM, and SOCK_SEQPACKET are all supported.
Signed-off-by: Bobby Eshleman <bobby.eshleman@bytedance.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock/virtio_transport.c')
-rw-r--r-- | net/vmw_vsock/virtio_transport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c index 28b5a8e8e094..e95df847176b 100644 --- a/net/vmw_vsock/virtio_transport.c +++ b/net/vmw_vsock/virtio_transport.c @@ -457,6 +457,8 @@ static struct virtio_transport virtio_transport = { .notify_send_pre_enqueue = virtio_transport_notify_send_pre_enqueue, .notify_send_post_enqueue = virtio_transport_notify_send_post_enqueue, .notify_buffer_size = virtio_transport_notify_buffer_size, + + .read_skb = virtio_transport_read_skb, }, .send_pkt = virtio_transport_send_pkt, |