Re: [PATCH net-next 0/3] vsock: support network namespace

From
Stefan Hajnoczi <stefanha@redhat.com>
Date
2020-01-21 15:51:05
Also in
kvm, linux-hyperv, lkml, virtualization
Reply to
Stefano Garzarella, 2020-01-16
What should vsock_dev_do_ioctl() IOCTL_VM_SOCKETS_GET_LOCAL_CID return?
The answer is probably dependent on the caller's network namespace.

Ultimately we may need per-namespace transports.  Imagine assigning a
G2H transport to a specific network namespace.

vsock_stream_connect() needs to be namespace-aware so that other
namespaces cannot use the G2H transport to send a connection
establishment packet.

Attachments

Thread (50 messages) 50 messages, 7 authors, last reply 2025-03-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help