Subject: Re: ether_input vs splnet()
To: Hubert Feyrer <hubert@feyrer.de>
From: Quentin Garnier <cube@cubidou.net>
List: tech-net
Date: 06/10/2005 12:22:29
--m2hhT81AZMAdw9a5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 09, 2005 at 10:38:52PM +0000, Hubert Feyrer wrote:
> On Thu, 9 Jun 2005, Manuel Bouyer wrote:
> >When called from a real device driver it's at splnet, but when it is from
> >a pseudo-device it's not (and I got a panic because of this).
> >Parts of ether_input are protected with splnet(), but there is one missi=
ng:
> >the call to bridge_input(). In my case, a write to /dev/tap0 ended up
> >calling ex_start() at a lower priority than IPL_NET (probably IPL_BIO,
> >I didn't check). bridge_input() itself also needs to run at splnet().
>=20
> I wonder if this is related to PR 29546?

Probably.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--m2hhT81AZMAdw9a5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQqlp5dgoQloHrPnoAQIHHwf+Kgc3H382EY6mheIIvt4jedcAMDFEgXDS
V0Mc75uDG2Hpadq5GPJU0Yn3MqZBq74TdxCw0uvkuAJBbEnx2azKzjjRIYreETNr
1hZ5hDhJoy8B1+mQ05246Jg5YbF89FKh2fQB1t34mmkIDqScCJJ4Em6m340Bp8ZF
GHHN05gUoXmgznn/pP7j1r1YcMSWm+PmCKJDRFDcAaQUeMbAjnAn5pbXj++kHZZf
xjQYGLz17DynDqunKSkIZAddRUiQkQsm4IQkOv+O8QK410hzqC2jspy0G9pvEt2E
zxIlaop5H7ze83uqib9rZzy5qrEUvZBAoL7nd6Oc/UFtzJG0alkRyw==
=wVC+
-----END PGP SIGNATURE-----

--m2hhT81AZMAdw9a5--