Re: Bug in NdisAlocateNetBufferList()

Tech-Archive recommends: Fix windows errors by optimizing your registry



I gave you the answer. Log into your MSDN account and look for 'Managed
Newsgroups' or something close to that. Read the web pages about them and
the anti-spam alias which is supposed to trigger a Microsoft support rep to
find you an answer in two days. All other answers are from folks who just
want to answer or want the benefits of being a MVP. Some in this newsgroup
are Microsoft developers who answer because they want to do so, but there is
no guarantee that they will answer your question.

"Peter" <Peter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:42723BC1-FBA0-4469-B9D4-6371B9A09E2B@xxxxxxxxxxxxxxxx
Thanks David for willing to help with that.

I put many questions to this forum in the past and had answers on them,
so I dont understand that anti-spam alias is needed to have answer on this
question.
For sending my questions I always used web browser to connect:
http://www.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.development.device.drivers


To know answer on this technical question is very important for us.
What is anti-spam alias good for ? Where can I register it ?
Does it mean that support answer directly to my email ?

(I understand your words about supoprt incident, so if answer wil not come
here< I will use it)

Peter

"David Craig" wrote:

Have you registered a anti-spam alias on the MSDN website? If they don't
answer here, use one of your support incidents to get your answer as that
may be the only option. You could ask MSDN support if they show your
anti-spam alias as being valid and being triggered upon when you post.
Are
you posting directly to the Microsoft news server?

"Peter" <Peter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2FDBBAE7-5390-492D-8444-A5F3F2A5C57E@xxxxxxxxxxxxxxxx
I am active MSDN subscriber and I met serious problem in your product.
Our commercial software product is dependent on your support,
and I am amazed that after several weeks there is no answer to my
question
originally posted 22-Aug and posted again 20-Sep.
I am writting my question again,
like your customer who hve purchased
MSDN Professional and hope that you will give me solution to this
technical
problem.

In NDIS6.1 filter driver,
net buffer list pool is created with parameters:

netBuffListParamsPreAlloc.Header.Revision =
NET_BUFFER_LIST_POOL_PARAMETERS_REVISION_1;
netBuffListParamsPreAlloc.Header.Size =
NDIS_SIZEOF_NET_BUFFER_LIST_POOL_PARAMETERS_REVISION_1;
netBuffListParamsPreAlloc.Header.Type = NDIS_OBJECT_TYPE_DEFAULT;
netBuffListParamsPreAlloc.ProtocolId = NDIS_PROTOCOL_ID_DEFAULT;
netBuffListParamsPreAlloc.PoolTag = '1lbN';
netBuffListParamsPreAlloc.fAllocateNetBuffer = TRUE;
netBuffListParamsPreAlloc.ContextSize = 0;
netBuffListParamsPreAlloc.DataSize = ip_datagramSize + 14;

and in FilterSendNetBufferLists() is implemented rewrapping of
NET_BUFFER_LIST
with help of: NdisAllocateNetBufferList(netBufferListPool, 0, 0);
Build is done for 32-bit, I checked structure member alignment, it is:
/Zp8 .
Problem is that array item:
NetBufferListInfo[IPsecOffloadV2HeaderNetBufferListInfo] in created
NET_BUFFER_LIST overlappes Next member in first NET_BUFFER, so when I
do:
NET_BUFFER_LIST_INFO(newBuffList,IPsecOffloadV2HeaderNetBufferListInfo)
=
NET_BUFFER_LIST_INFO(oldBuffList,IPsecOffloadV2HeaderNetBufferListInfo);
then value of Next member of first NET_BUFFER is set to invalid value
and sometimes I meet BSOD.
So NdisAllocateNetBufferList() allocates first NET_BUFFER on bad place,
how to resolve this bug ?

Peter






.



Relevant Pages

  • Re: Bug in NdisAlocateNetBufferList()
    ... Have you registered a anti-spam alias on the MSDN website? ... You could ask MSDN support if they show your ... So NdisAllocateNetBufferListallocates first NET_BUFFER on bad place, ...
    (microsoft.public.development.device.drivers)
  • RE: MSDTC Error after applying W2K3 SP2
    ... I agree with Florin that the Transaction forum maybe the proper one. ... Microsoft MSDN Online Support Lead ... MSDTC Error after applying W2K3 SP2 ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: web tests in Visual Studio.NET 2005 Team Developer
    ... Can the VS versions that you reference be found in MSDN subscriptions or only ... "Software Tester" version is dedicated to testers which contains all the ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.ide)
  • RE: Infopath Browser Form - Webservice return value
    ... \par As for reading range and values through Excel service, here is a MSDN reference which mentioned how to get rows and fields from results returned by GetRangeA1 and other methods: ... \par Microsoft MSDN Online Support Lead ... The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support ... \par the first array value. ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: VS.NET 2008 Install (Language) Question...
    ... WHEN will the German Version of VS.NET 2008 Prof. be available for MSDN ... Since VS 2008 is supported to work side by side with VS 2005 and English ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.vsnet.general)