Skip to content

Commit 6171381

Browse files
ybenditoYanVugenfirer
authored andcommitted
netkvm: Stop lazy alloc thread on reboot
Jira link: https://issues.redhat.com/browse/RHEL-75532 Lazy allocation thread must be stopped before resetting virtio device. Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
1 parent dd928f1 commit 6171381

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

NetKVM/Common/ParaNdis_Common.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,6 +1628,9 @@ System shutdown handler (shutdown, restart, bugcheck)
16281628
VOID ParaNdis_OnShutdown(PARANDIS_ADAPTER *pContext)
16291629
{
16301630
DEBUG_ENTRY(0); // this is only for kdbg :)
1631+
1632+
pContext->systemThread.Stop();
1633+
16311634
ParaNdis_ResetVirtIONetDevice(pContext);
16321635

16331636
pContext->m_StateMachine.NotifyShutdown();

0 commit comments

Comments
 (0)