mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
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:
parent
a85dce53e9
commit
5fd1995681
1 changed files with 2 additions and 2 deletions
|
@ -4069,7 +4069,7 @@ typedef VOID DDKAPI
|
||||||
|
|
||||||
typedef VOID DDKAPI
|
typedef VOID DDKAPI
|
||||||
(*ETH_RCV_INDICATE_HANDLER)(
|
(*ETH_RCV_INDICATE_HANDLER)(
|
||||||
IN PETH_FILTER Filter,
|
IN NDIS_HANDLE MiniportAdapter,
|
||||||
IN NDIS_HANDLE MacReceiveContext,
|
IN NDIS_HANDLE MacReceiveContext,
|
||||||
IN PCHAR Address,
|
IN PCHAR Address,
|
||||||
IN PVOID HeaderBuffer,
|
IN PVOID HeaderBuffer,
|
||||||
|
@ -4627,7 +4627,7 @@ NdisMDeregisterIoPortRange(
|
||||||
PacketSize) \
|
PacketSize) \
|
||||||
{ \
|
{ \
|
||||||
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->EthRxIndicateHandler)( \
|
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->EthRxIndicateHandler)( \
|
||||||
(((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->FilterDbs.EthDB), \
|
(MiniportAdapterHandle), \
|
||||||
(MiniportReceiveContext), \
|
(MiniportReceiveContext), \
|
||||||
(HeaderBuffer), \
|
(HeaderBuffer), \
|
||||||
(HeaderBuffer), \
|
(HeaderBuffer), \
|
||||||
|
|
Loading…
Reference in a new issue