Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 May 2012 13:18:38 +0200
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        freebsd-jail@freebsd.org
Subject:   destroy epair can cause panic in 9.0-release 
Message-ID:  <4FA50C8E.3020101@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020109000909020309070708
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

If I build a kernel with

options		VIMAGE
device          epair
device          if_bridge

and

start a jail

jail -c vnet name=foo host.hostname=foo.example.com path=/ persist
ifconfig epair create
ifconfig bridge create
ifconfig bridge0 up
ifconfig epair0a up
jexec foo ifconfig lo0 localhost
ifconfig epair0b vnet foo
jexec foo ifconfig epair0b inet 10.0.0.2
ifconfig bridge0 addm epair0a addm bce1
ifconfig bce1 inet 10.0.0.1


everything is fine and working as expected


now I destroy the interface epair0a:

 ifconfig epair2a destroy
 jexec foo ifconfig

and boom, kernel panics

same thing seems to happen if I just jail -r 1

Palle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPpQyOAAoJEIhV+7FrxBJDCEwIAL0fmbBwzPy7qQZyks6iIVz+
d6aFB8paGg1YX4afrancGoIRxwORGKOFF4gAj/15jsVN9Rqwgv+d58uIt4/zodJO
ERj8+Sly5sVFziUi5TduRsjVtjDKRKqymKuzJXlDaizp+UaAGPe3dFSoskoogk44
KwZG5fRs2MFrg9MB0BvvdfXMBxyTgzIWw6q35TOaxWylqDQz9VcRgfeKO0AlvTwu
uytXdxjM/MqhrMYVSSd/5PEUyJM9eBn4Eg627WD3ZIzH7GsC9/IN7D3Wm7lg7+RT
9aCtUKpd0TB2MWOR4lywwo7JMdSK6aNNRvWddZSQgtaKr1mJprCMg2HbxVao5vQ=
=Cbc+
-----END PGP SIGNATURE-----

--------------020109000909020309070708--



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