Re: [PATCH 2/2] pvcalls-front: wait for other operations to return when release passive sockets
From: Juergen Gross
Date: Mon Feb 12 2018 - 08:39:31 EST
On 05/02/18 23:51, Stefano Stabellini wrote:
> Passive sockets can have ongoing operations on them, specifically, we
> have two wait_event_interruptable calls in pvcalls_front_accept.
>
> Add two wake_up calls in pvcalls_front_release, then wait for the
> potential waiters to return and release the sock_mapping refcount.
>
> Signed-off-by: Stefano Stabellini <stefano@xxxxxxxxxxx>
Acked-by: Juergen Gross <jgross@xxxxxxxx>
Juergen