> The core port allocator is currently private to connection-oriented > sockets. Virtio datagrams need the same bound-socket lookup tables and > port allocation, while VMCI datagrams must keep their own endpoint > creation and port namespace. > > Export vsock_bind_common() with the bound-table locking inside the > helper, and use it for stream and SEQPACKET binds. Keep datagram binds > delegated to the transport so a transport can opt into the core > allocator without changing other transports' binding behavior. > > Signed-off-by: Sergio Lopez <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=1
