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

Kirill Tkhai ktkhai at virtuozzo.com
Tue Apr 11 02:15:26 PDT 2017


On 11.04.2017 12:14, Cyrill Gorcunov wrote:
> 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.
 
They wake connected sockets, while we need wake namesakes sockets. Don't we?


More information about the CRIU mailing list