[CRIU] Re: [PATCH 1/2] sockets: Restore unbound inet sockets v3
Cyrill Gorcunov
gorcunov at openvz.org
Wed Jun 27 13:16:30 EDT 2012
On Wed, Jun 27, 2012 at 09:13:19PM +0400, Pavel Emelyanov wrote:
> > +
> > + /*
> > + * The restored application will pass backlog explicitly
> > + * on a listen call (if needed) so put some sane value here.
>
> Some sane is not good. For UDP sockets this is useless, for TCP you can request
> for TCPINFO sockoption, it will contain the required value and (!) the socket
> state, thus you won't have to mess with the SO_ACCEPTCONN above.
>
cool, thanks for advice!
Cyrill
More information about the CRIU
mailing list