mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
tcp: don't forget to wake up the port->users futex
Reported-by: Robert Reinecke <reinecke@rbg.informatik.tu-darmstadt.de> Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
3435ec9ee5
commit
19df5ec472
1 changed files with 1 additions and 1 deletions
|
|
@ -547,7 +547,7 @@ static int open_inet_sk(struct file_desc *d)
|
|||
inet_connect(sk, ii))
|
||||
goto err;
|
||||
done:
|
||||
futex_dec(&ii->port->users);
|
||||
futex_dec_and_wake(&ii->port->users);
|
||||
|
||||
if (rst_file_params(sk, ie->fown, ie->flags))
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue