On Wed, Aug 19, 2026 at 09:01:55PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> As documented, for "local", the migration channel must be direct UNIX
> socket connection from source to target (except for CPR_EXEC mode). We
> can't check for it being "direct", but let's at least check that we deal
> with UNIX socket.
> 
> Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>

I slightly prefer sticking with socket_local_address() to avoid invoking
the syscall directly, but I understand your point, likely about unnecessary
allocation.  It's OK too,

Reviewed-by: Peter Xu <[email protected]>

-- 
Peter Xu


Reply via email to