From 70564a8f52b34ffccde4ac818277deb0e5b26aa2 Mon Sep 17 00:00:00 2001 From: Daiyuu Nobori Date: Wed, 1 Jan 2020 15:52:47 +0900 Subject: [PATCH] Bugfix: Imperfect Virtual Hub FDB lock may cause process crush. --- src/Cedar/Hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cedar/Hub.c b/src/Cedar/Hub.c index 32a5d04c..184f3312 100644 --- a/src/Cedar/Hub.c +++ b/src/Cedar/Hub.c @@ -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++)