Messages in this thread | | | Date | Mon, 12 Feb 2018 18:07:09 -0800 (PST) | From | Stefano Stabellini <> | Subject | Re: [PATCH 2/2] pvcalls-front: wait for other operations to return when release passive sockets |
| |
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@aporeto.com> > > Acked-by: Juergen Gross <jgross@suse.com>
Thanks!
| |