This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: any way to reset the TCP/IP network buffers in ecos?
- From: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- To: <kenkyee at excite dot com>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 21 Sep 2012 07:11:15 +0200
- Subject: RE: [ECOS] any way to reset the TCP/IP network buffers in ecos?
- References: <20120920135429.21498@web005.roc2.bluetie.com>
Hi Ken,
> On our system, we bring PPP up and down to minimize connection time costs, but after running a while, we seem to get this error:
>
> socket returned: No buffer space available
OK. This must be a memory leak somewhere.
However I fixed a fiew memory leaks with my enhancement patch for the FreeBSD
See Bug# 1001656. Maybe you try to use this first.
One major flaw was, when you do a IF_DOWN the unsent buffers must be cleaned up too.
By the way, how did you compile your target with PPP in the first place?
This does somehow not compile, as far as I know.
Regards
Bernd Edlinger
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss