aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorXie Yongji <[email protected]>2021-09-23 07:57:22 +0000
committerMichael S. Tsirkin <[email protected]>2021-10-22 10:49:14 +0000
commit1394103fd72ce9c67d20f882a93d59403c8da057 (patch)
treeb5c55dd49b3e3798d7c5af3bf4fe92fb784515ed /scripts/gcc-plugins/randomize_layout_plugin.c
parentMerge tag 'drm-fixes-2021-10-22' of git://anongit.freedesktop.org/drm/drm (diff)
downloadkernel-1394103fd72ce9c67d20f882a93d59403c8da057.tar.gz
kernel-1394103fd72ce9c67d20f882a93d59403c8da057.zip
vduse: Disallow injecting interrupt before DRIVER_OK is set
The interrupt callback should not be triggered before DRIVER_OK is set. Otherwise, it might break the virtio device driver. So let's add a check to avoid the unexpected behavior. Fixes: c8a6153b6c59 ("vduse: Introduce VDUSE - vDPA Device in Userspace") Signed-off-by: Xie Yongji <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions