android_kernel_oneplus_msm8998/net/vmw_vsock
Claudio Imbrenda df24d6c224 AF_VSOCK: Shrink the area influenced by prepare_to_wait
commit f7f9b5e7f8eccfd68ffa7b8d74b07c478bb9e7f0 upstream.

When a thread is prepared for waiting by calling prepare_to_wait, sleeping
is not allowed until either the wait has taken place or finish_wait has
been called.  The existing code in af_vsock imposed unnecessary no-sleep
assumptions to a broad list of backend functions.
This patch shrinks the influence of prepare_to_wait to the area where it
is strictly needed, therefore relaxing the no-sleep restriction there.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: "Jorgen S. Hansen" <jhansen@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:37:19 +00:00
..
af_vsock.c AF_VSOCK: Shrink the area influenced by prepare_to_wait 2017-11-30 08:37:19 +00:00
Kconfig treewide: Fix typo in Kconfig 2013-10-14 15:23:02 +02:00
Makefile
vmci_transport.c VSOCK: Detach QP check should filter out non matching QPs. 2017-04-27 09:09:32 +02:00
vmci_transport.h VSOCK: sock_put wasn't safe to call in interrupt context 2015-10-22 07:21:05 -07:00
vmci_transport_notify.c net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
vmci_transport_notify.h
vmci_transport_notify_qstate.c net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
vsock_addr.c VSOCK: Move af_vsock.h and vsock_addr.h to include/net 2013-07-27 22:14:06 -07:00