mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Fix locking. The dst_object must remain locked on the retry of the
loop iteration. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 6 days
This commit is contained in:
parent
dd006a1b14
commit
c8f780e3d6
1 changed files with 1 additions and 0 deletions
|
|
@ -1359,6 +1359,7 @@ again:
|
|||
VM_OBJECT_WUNLOCK(dst_object);
|
||||
VM_OBJECT_RUNLOCK(object);
|
||||
VM_WAIT;
|
||||
VM_OBJECT_WLOCK(dst_object);
|
||||
goto again;
|
||||
}
|
||||
} while (dst_m == NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue