This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pbuf_alloc in the eth_drc.c returns Zero


So i have reached a bit better kind of behaviour.

Now everytime when i can't alloc pbufs anymore, this happends only on
broadcast storms, i call the function pbuf_init() again. 
Seems that then my device can alloc pbufs again but not in a perfect manner. 
This means i can ping the device but can't open a lot of tcp sockets like
before the storm. 

How can i clear the buffers/pbuf of the stack cleanly. I mean a broadcast
storm is a error state i want to clear all the packets that came through. So
something like the pbuf_init() should be done.

Did somebody have the same problem or knows what to do in this specific
problem?

Regards
Fred



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/pbuf-alloc-in-the-eth-drc-c-returns-Zero-tp227390p227535.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]