Date: Fri, 24 Jan 2003 12:41:44 +0100 From: Gary Jennejohn <garyj@jennejohn.org> To: "Ari Suutari" <ari.suutari@syncrontech.com> Cc: "G Hasse" <gh@raditex.se>, freebsd-isdn@FreeBSD.ORG Subject: Re: Problem with "no bufferspace" - solution Message-ID: <200301241141.h0OBfi6e003789@peedub.jennejohn.org> In-Reply-To: Your message of "Fri, 24 Jan 2003 12:37:51 %2B0100."
next in thread | raw e-mail | index | archive | help
Gary Jennejohn writes: > > while((m = sppp_dequeue(&sc->sc_if)) != NULL) > > m_freem(m); > > } > /* taken from spp_lcp_down */ > if ((ifp->if_flags & (IFF_AUTO | IFF_PASSIVE)) == 0) > if_down(ifp); > else { > sp->pp_flags &= ~PP_CALLIN; > #if 0 > /* we assume STATE_INITIAL here! */ > /* these lines kept for information only */ > if (sp->state[IDX_LCP] != STATE_INITIAL) > lcp.Close(sp); > #endif > ifp->if_flags &= ~IFF_RUNNING; > } + sc->sc_state = ST_IDLE; > > } > > } > > > replying to my own mail. Also keep the ST_IDLE! --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301241141.h0OBfi6e003789>