From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16088 invoked by alias); 6 Apr 2013 08:16:56 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 16058 invoked by uid 89); 6 Apr 2013 08:16:56 -0000 X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED autolearn=ham version=3.3.1 Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 06 Apr 2013 08:16:50 +0000 Received: from tom.nabble.com ([192.168.236.105]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UOOIr-0005rS-FR for ecos-discuss@ecos.sourceware.org; Sat, 06 Apr 2013 01:16:49 -0700 Date: Sat, 06 Apr 2013 08:16:00 -0000 From: Fred To: ecos-discuss@ecos.sourceware.org Message-ID: <1365236209472-227535.post@n7.nabble.com> In-Reply-To: <1365087544027-227390.post@n7.nabble.com> References: <1365087544027-227390.post@n7.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [ECOS] Re: pbuf_alloc in the eth_drc.c returns Zero X-SW-Source: 2013-04/txt/msg00004.txt.bz2 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