1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Bugfix: Imperfect Virtual Hub FDB lock may cause process crush.

This commit is contained in:
Daiyuu Nobori 2020-01-01 15:52:47 +09:00
parent f083c59905
commit 70564a8f52

View File

@ -1563,7 +1563,7 @@ void HubWatchDogThread(THREAD *t, void *param)
o2 = NewListFast(NULL);
// Send an ARP packet
LockHashList(hub->IpTable);
LockHashList(hub->MacHashTable);
{
num = LIST_NUM(hub->IpTable);
for (i = 0;i < LIST_NUM(hub->IpTable);i++)