From owner-freebsd-stable Mon Mar 12 7:35: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 0120337B719 for ; Mon, 12 Mar 2001 07:35:03 -0800 (PST) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 12 Mar 2001 15:35:02 +0000 (GMT) To: j mckitrick Cc: Ian Dowse , Alfred Perlstein , freebsd-stable@freebsd.org, iedowse@maths.tcd.ie Subject: Re: suspend/restore with ppp connections In-Reply-To: Your message of "Mon, 12 Mar 2001 15:26:50 GMT." <20010312152650.D87895@dogma.freebsd-uk.eu.org> Date: Mon, 12 Mar 2001 15:35:01 +0000 From: Ian Dowse Message-ID: <200103121535.aa13342@salmon.maths.tcd.ie> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010312152650.D87895@dogma.freebsd-uk.eu.org>, j mckitrick writes: >| + (*linesw[com->tp->t_line].l_close)(com->tp, 0); > >What does this part do? It's the missing call to the line discipline's l_close() routine. I'm not sure if this is important with ppp, but when using the kernel slip driver, this was necessary if you ejected the card or suspended while slip was running. Otherwise, slip would refuse to run again until after the next reboot. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message