[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] 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.
---
 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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.