Parallel commit: See this osr page:

http://www.osr.com/ddk/network/103ndisx_51pu.htm
Fixes problem with reactos ne2000 driver and ndis resulting in random
heap corruption.  The NdisMEthIndicateReceive macro passes the
MiniportAdapterHandle, not the ETH_FILTER from inside it.

svn path=/trunk/; revision=10277
This commit is contained in:
Art Yerkes 2004-07-24 04:49:33 +00:00
parent a85dce53e9
commit 5fd1995681

View file

@ -4069,7 +4069,7 @@ typedef VOID DDKAPI
typedef VOID DDKAPI
(*ETH_RCV_INDICATE_HANDLER)(
IN PETH_FILTER Filter,
IN NDIS_HANDLE MiniportAdapter,
IN NDIS_HANDLE MacReceiveContext,
IN PCHAR Address,
IN PVOID HeaderBuffer,
@ -4627,7 +4627,7 @@ NdisMDeregisterIoPortRange(
PacketSize) \
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->EthRxIndicateHandler)( \
(((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->FilterDbs.EthDB), \
(MiniportAdapterHandle), \
(MiniportReceiveContext), \
(HeaderBuffer), \
(HeaderBuffer), \