Date: Fri, 01 Aug 1997 02:12:47 +0100 From: Brian Somers <brian@awfulhak.org> To: Terry Todd <tlt@badger.tltodd.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: No buffer space available Message-ID: <199708010112.CAA19494@awfulhak.org> In-Reply-To: Your message of "Wed, 30 Jul 1997 18:01:17 CDT." <199707302301.SAA09724@badger.tltodd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I posted this once before and didn't hear anything back but that may > have been because various people were on vacation. This happened > again last week and I had maxconcur set to 8. My system is set up > with a dedicated 28.8 dial up using pppd. 99% of the time it just > sits there and runs happily along. I really like FreeBSD. > Here's the main symptom that something is wrong: > ping: sendto: No buffer space available > After it gets in this state it will never recover by itself. > Is there something else that I need to do if it happens again? [.....] You could try the following patch (in /sys/net). It *may* fix things, otherwise you could try iijppp (ppp). *** slcompress.c.orig Mon Jun 23 20:06:31 1997 --- slcompress.c Sun Jun 22 06:51:12 1997 *************** *** 217,222 **** --- 217,224 ---- comp->last_cs = lcs; hlen += th->th_off; hlen <<= 2; + if (hlen > m->m_len) + return TYPE_IP; goto uncompressed; found: *************** *** 247,252 **** --- 249,256 ---- deltaS = hlen; hlen += th->th_off; hlen <<= 2; + if (hlen > m->m_len) + return TYPE_IP; if (((u_short *)ip)[0] != ((u_short *)&cs->cs_ip)[0] || ((u_short *)ip)[3] != ((u_short *)&cs->cs_ip)[3] || -- Brian <brian@awfulhak.org>, <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708010112.CAA19494>