]> Git Repo - linux.git/commit
pvcalls-front: wait for other operations to return when release passive sockets
authorStefano Stabellini <[email protected]>
Wed, 14 Feb 2018 18:28:24 +0000 (10:28 -0800)
committerJuergen Gross <[email protected]>
Sat, 17 Feb 2018 08:41:06 +0000 (09:41 +0100)
commitd1a75e0896f5e9f5cb6a979caaea39f1f4b9feb1
tree64a06c2c248dfcfff3da8a9b249005cc573b722a
parent64d6871827b1e2ac8c9daf49f2c883378c7d50cd
pvcalls-front: wait for other operations to return when release passive sockets

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 <[email protected]>
Acked-by: Juergen Gross <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
drivers/xen/pvcalls-front.c
This page took 0.05349 seconds and 4 git commands to generate.