This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: pbuf_alloc in the eth_drc.c returns Zero
- From: Fred <haydar dot oezel at web dot de>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sat, 6 Apr 2013 01:16:49 -0700 (PDT)
- Subject: Re: pbuf_alloc in the eth_drc.c returns Zero
- References: <1365087544027-227390 dot post at n7 dot nabble dot com>
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