summaryrefslogtreecommitdiffstats
path: root/samples/bpf/tcp_synrto_kern.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2018-07-06 22:50:06 +0200
committerAlex Williamson <alex.williamson@redhat.com>2018-07-11 21:22:41 +0200
commit498e8bf51c633cc4496343e6113f340f8e9301ae (patch)
tree43bdf27e23afef2d4c07e184372a979c3910ef7d /samples/bpf/tcp_synrto_kern.c
parentLinux 4.18-rc4 (diff)
downloadlinux-498e8bf51c633cc4496343e6113f340f8e9301ae.tar.xz
linux-498e8bf51c633cc4496343e6113f340f8e9301ae.zip
sample: vfio-mdev: avoid deadlock in mdev_access()
mdev_access() calls mbochs_get_page() with mdev_state->ops_lock held, while mbochs_get_page() locks the mutex by itself. It leads to unavoidable deadlock. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'samples/bpf/tcp_synrto_kern.c')
0 files changed, 0 insertions, 0 deletions