destroy epair can cause panic in 9.0-release
Palle Girgensohn
girgen at FreeBSD.org
Sat May 5 11:24:40 UTC 2012
-----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-----
More information about the freebsd-jail
mailing list