diff options
| author | Xie Yongji <[email protected]> | 2021-09-29 08:30:50 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2021-10-22 10:49:14 +0000 |
| commit | 0943aacf5ae10471b68a702c022b42c89e91ba9e (patch) | |
| tree | 4c49b7212b76402000db34aab1f296225fabd604 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | vduse: Disallow injecting interrupt before DRIVER_OK is set (diff) | |
| download | kernel-0943aacf5ae10471b68a702c022b42c89e91ba9e.tar.gz kernel-0943aacf5ae10471b68a702c022b42c89e91ba9e.zip | |
vduse: Fix race condition between resetting and irq injecting
The interrupt might be triggered after a reset since there is
no synchronization between resetting and irq injecting. And it
might break something if the interrupt is delayed until a new
round of device initialization.
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
