Hi, Gurus.
I debug my drivers again. This time I try to resend every packet received in my
NewReceiveHandler in NewTransferDataCompleteHandler.
I plan to free the packet and buffers in NewSendCompleteHandler.
But it seems NdisSend always return STATUS_PENDING and my NewSendCompleteHandler
never be called.
About 10 packets was sent, The debugger(softice) tell me
“break by embedded INT 3”. And the stack at this time looks like following:
***************************************
ntoskrnl!_RtlNewSecurityObject +0520
ndis!_ndisqueryadapterInstanceName+0065
Rtl8029!.text+0E4A
Rtl8029!.text+0BE4
ndis!_ndisMRequestSetInformation +00f0
ndid!_ndisMQueryInformation +00F0
ntoskrnl!_KiTrap.0E+0135
****************************************
and then Crashed!
What this stack content mean? Help me.
best regards
yours brucie
//NewTransferDataCompleteHandler
…
NdisSend(&Status,
openblocklist->openblock,
Packet);
if (Status != NDIS_STATUS_PENDING)
{
NewSendCompleteHandler(
openblocklist->ProtocolBindingContext,
Packet,
Status
);
return;
}