Re: [PATCH 2/2] pvcalls-front: wait for other operations to return when release passive sockets

From: Stefano Stabellini
Date: Mon Feb 12 2018 - 21:07:24 EST


On Mon, 12 Feb 2018, Juergen Gross wrote:
> 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>

Thanks!