NdisAllocatePacket failed

hi im writing a ndis protocol driver but OnreciveStub NdisAllocatePacket failed continuously after receiving some packets and the system hang …with status value 0xC000009a ??any help