From ca360075e9561894fb5e636c909b0abdfa4a1457 Mon Sep 17 00:00:00 2001 From: Dan Hyde Date: Sat, 10 Nov 2007 00:35:10 +0000 Subject: [PATCH] STABLE14-viced-missing-lock-20071109 FIXES 76713 Add missing lock that needs to protect an in use 'host' from having HOSTDELETED added to the hostFlags and HWNO_INPROGRESS removed. (cherry picked from commit 76c886b574b7d21db2557872be8af8e6ca549f34) --- src/viced/host.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/viced/host.c b/src/viced/host.c index b78745a4f..a9841e937 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -1551,6 +1551,7 @@ h_GetHost_r(struct rx_connection *tcon) host->interface ? uuid2 : "")); /* The host in the cache is not the host for this connection */ + h_Lock_r(host); host->hostFlags |= HOSTDELETED; host->hostFlags &= ~HWHO_INPROGRESS; h_Unlock_r(host); -- 2.39.5