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:
parent
f083c59905
commit
70564a8f52
@ -1563,7 +1563,7 @@ void HubWatchDogThread(THREAD *t, void *param)
|
|||||||
o2 = NewListFast(NULL);
|
o2 = NewListFast(NULL);
|
||||||
|
|
||||||
// Send an ARP packet
|
// Send an ARP packet
|
||||||
LockHashList(hub->IpTable);
|
LockHashList(hub->MacHashTable);
|
||||||
{
|
{
|
||||||
num = LIST_NUM(hub->IpTable);
|
num = LIST_NUM(hub->IpTable);
|
||||||
for (i = 0;i < LIST_NUM(hub->IpTable);i++)
|
for (i = 0;i < LIST_NUM(hub->IpTable);i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user