Hi
I am writing an NDIS6 miniport driver and I have a question:
I indicate NBL to NDIS using NdisMIndicateReceiveNetBufferLists. Those
NBL are allocated
using NdisAllocateNetBufferAndNetBufferList (i.e. each NBL is paired
with a single NB).
Each NB has a single MDL (which I allocated seperately using
NdisAllocateMdl).
When Ndis return the NBL to me (in MiniportReturnNetBufferLists) I
notice that the NB containes now more than a single MDL (the original
MDL is chained to another MDL).
1. Is that Normal ? i.e. can Ndis and above protocols can add MDLs to
the NB after
I indicate an NBL?
2. Should I release the new MDLs (which I did not allocated)?
3. Is it possible that Ndis will remove my original MDLs from the NB?
In that case I guess
that Ndis is also responsible for freeing it right?
Thanks
Miki