Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 1995 04:30:24 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        babkin@hq.icb.chel.su, davidg@Root.COM
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: SLIP bug ?
Message-ID:  <199504121830.EAA23231@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I  have found a little bug in SLIP (950210-SNAP). Comment says that SLIP
>must mask both network and tty interrupts by spl...(), but really
>it masks splimp() only. Is this error corrected in -current ? If not

This has never been a problem in FreeBSD or 386BSD.  splimp() masks ttys
too if SLIP or PPP is (statically) configured.  See isa.c.

There used to be variations on the problem.  A long time ago, splnet()
was null unless there was a network interface (ethernet or SLIP), but it
has to be no-null for lo0, was a network interface (ethernet or slip),
but it has to be no-null for lo0.  More recently, isa.c forgot to handle
the (NPPP > 0) case.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504121830.EAA23231>