On Thu, Apr 08, 2021 at 08:11:58PM +0100, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > > Delay closing the listener until the cleanup hook at the end; mptcp > needs the listener to stay open while the other paths come in.
So you're saying that when the 'accept(2)' call returns, we are only guaranteed to have 1 single path accepted, and the other paths will be accepted by the kernel asynchronously ? Hence we need to keep listening, even though we're not going to call accept(2) again ourselves ? > > Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > --- > migration/multifd.c | 5 +++++ > migration/socket.c | 24 ++++++++++++++++++------ > 2 files changed, 23 insertions(+), 6 deletions(-) Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|