Thread (51 messages) 51 messages, 4 authors, 2025-07-29

Re: [RFC PATCH net-next v6 03/14] af_vsock: support multi-transport datagrams

From: Amery Hung <hidden>
Date: 2024-07-15 17:41:52
Also in: bpf, kvm, linux-hyperv, lkml, virtualization

On Mon, Jul 15, 2024 at 1:25 AM Arseniy Krasnov
[off-list ref] wrote:
Hi! Sorry, i was not in cc, so I'll reply in this way :)
Ope. I will copy you in the next version.
+static const struct vsock_transport *
+vsock_dgram_lookup_transport(unsigned int cid, __u8 flags)
+{
+       const struct vsock_transport *transport;
+
+       transport = vsock_connectible_lookup_transport(cid, flags);
+       if (transport)
+               return transport;
+
+       return transport_dgram_fallback;
+}
+
^^^

I guess this must be under EXPORT_SYMBOL, because it is called from
virtio_transport_common.c, so module build fails.

Thanks
Right. I will fix it by exporting vsock_dgram_lookup_transport() in patch 7.

Thanks!
Amery
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help