diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-09-29 16:30:50 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-10-22 06:49:14 -0400 |
commit | 0943aacf5ae10471b68a702c022b42c89e91ba9e (patch) | |
tree | 4c49b7212b76402000db34aab1f296225fabd604 /lib/test_stackinit.c | |
parent | 1394103fd72ce9c67d20f882a93d59403c8da057 (diff) | |
download | linux-0943aacf5ae10471b68a702c022b42c89e91ba9e.tar.bz2 |
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 <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20210929083050.88-1-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions