[CRIU] [PATCH 17/18] sk-unix: Add ability to restore sockets with deleted vfs addresses

Cyrill Gorcunov gorcunov at gmail.com
Tue Apr 11 02:14:20 PDT 2017


On Mon, Apr 10, 2017 at 12:16:22PM +0300, Kirill Tkhai wrote:
> >  			}
> >  		}
> > +		ui->flags |= USK_ADDR_RDY;
> 
> ^^^ To use send_fds_event() somewhere near here.

Actually right after this code here comes

	if (ui->ue->state != TCP_LISTEN) {
		ui->bound = true;
		wake_connected_sockets(ui);
	}

where wake_connected_sockets calls for set_fds_event(fle->pid);
so we're safe.


More information about the CRIU mailing list