[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/3] Revert 4e080f819b55 "Skip hash update if front...
- To: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Owen Smith <owen.smith@xxxxxxxxxx>
- Date: Fri, 7 Nov 2025 10:42:36 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cV5zxiWvdAAA/l1apzFgZtva8mlUj9nUSymRGVHWXlc=; b=dps6MLeDWszYqxdjny5oTPEm8JLLvUxSWzxZumWV+uJfhQ9F1Jrh4fF03pNcNOiGNFXCxmsyqsgDowYrnB/LDH1WJdi3Kf3k65iM9820DzlYQBl21Mjug2YTAu3NJDMDzkURC9n7hK5hgAoha4yk5m6lglfcqaX1plshNRuwL+B3+7ZRhcfdWSLj4cUFn7J663w3TNFUvppjz2Kvmj1xGyQ7Xdb3VaZf/X6bmcxBSDjkmXCe35nFEI8kQJf4yT4jtJWUoOXJg1EAkSISXH1e4Aq11QAPHGhHzTSc60/vHARLaBaBcGtoszaL/bt02UAJZe8pWQ0KOx/De7Ejz8az9g==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XyrXLp5uuNzGpdwlVPrdaHkm/6MJnRkxE/MNV1xNg4VMlsIZ1EJdvR3zZuOZ218mmJUR/p5n9LOW1pbJCHNmgl6HbHhfi8XTF2QeExaQS5OWNEmLhyY6LYlEtbT318WN0xgPOEpvm1a105OECYJL3OgiCR9Zlo/kEXnYz77AO3rFgsPLaAas4sT4g6rR4CqCoFcuRf7JOO+LJuD1uEb8iThigBCHDk8ESs9jY/q3P4jX4dTewJdI7WgcB4RN41ApIrm/3aTSCSPBB7J4i/m0pMJpJxUCAdT31zblEBCRv6CfJVo3MoHmAgTwKdz3F2q95uCdL9Gs1V/OTUUfK0Uavw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Delivery-date: Fri, 07 Nov 2025 10:42:42 +0000
- List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
- Msip_labels:
- Thread-index: AQHcTyhO19ZVmQYnrkGvhe7nGOlEjLTnCCPI
- Thread-topic: [PATCH v2 1/3] Revert 4e080f819b55 "Skip hash update if front...
Reviewed-by: Owen Smith <owen.smith@xxxxxxxxxx>
________________________________________
From: win-pv-devel <win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx> on behalf of Tu
Dinh <ngoc-tu.dinh@xxxxxxxxxx>
Sent: 06 November 2025 2:18 PM
To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Cc: Tu Dinh
Subject: [PATCH v2 1/3] Revert 4e080f819b55 "Skip hash update if front...
...end is not enabled"
NDIS queries the supported hash types before the frontend is enabled.
Controller requests are not dependent on the frontend being enabled to
begin with.
Allow such requests to go through.
Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
---
src/xenvif/frontend.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/xenvif/frontend.c b/src/xenvif/frontend.c
index f844a42..5311dea 100644
--- a/src/xenvif/frontend.c
+++ b/src/xenvif/frontend.c
@@ -1910,9 +1910,6 @@ __FrontendUpdateHash(
ULONG Flags;
NTSTATUS status;
- if (Frontend->State != FRONTEND_ENABLED)
- goto done;
-
Controller = __FrontendGetController(Frontend);
switch (Hash->Algorithm) {
--
2.51.0.windows.2
--
Ngoc Tu Dinh | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|