datapath-windows: Fix static analysis in Stt.c
The WDK 10 static analysis complains:
stt.c(427): warning C30030: Warning: Allocating executable memory via
specifying a MM_PAGE_PRIORITY type without a bitwise OR with
MdlMappingNoExecute.
Acked-by: Sairam Venugopal
@@ -424,7 +424,7 @@ OvsValidateTCPChecksum(PNET_BUFFER_LIST curNbl,
NDIS_STATUS status;
curMdl = NET_BUFFER_CURRENT_MDL(curNb);
- buf = (PUINT8)MmGetSystemAddressForMdlSafe(curMdl, LowPagePriority)
+ buf = (PUINT8)OvsGetMdlWithLowPriority(curMdl)
+ NET_BUFFER_CURRENT_MDL_OFFSET(curNb);
if (!buf) {
status = NDIS_STATUS_INVALID_PACKET;
