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

From: Stefan Hajnoczi
Date: Tue Jan 21 2020 - 10:51:06 EST


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.

Attachment: signature.asc
Description: PGP signature