On Tue, 4 Feb 2025 16:42:15 +1100 David Gibson <david(a)gibson.dropbear.id.au> wrote:For migration we need to get the specific local address and port for connected sockets with getsockname(). We currently open code marshalling the results into the flow entry. However, we already have inany_from_sockaddr() which handles the fiddly parts of this, so use it. Also report failures, which may make debugging problems easier. Signed-off-by: David Gibson <david(a)gibson.dropbear.id.au>Applied with re-declarations of 'sa' and 'sl' dropped. -- Stefano