From owner-freebsd-net@freebsd.org Mon Oct 5 18:24:31 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 374C29B674A for ; Mon, 5 Oct 2015 18:24:31 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1DEB5F59 for ; Mon, 5 Oct 2015 18:24:31 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1B1649B6749; Mon, 5 Oct 2015 18:24:31 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AA9A9B6748 for ; Mon, 5 Oct 2015 18:24:31 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.freebsd.org", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08871F58 for ; Mon, 5 Oct 2015 18:24:31 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from butcher-nb.yandex.net (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx2.freebsd.org (Postfix) with ESMTP id D96EC66C11; Mon, 5 Oct 2015 18:24:29 +0000 (UTC) (envelope-from ae@FreeBSD.org) Subject: Re: Page fault after destroying/reconfiguring GRE interface To: Julian Kornberger , "net@freebsd.org" References: <56106056.7040006@tzi.de> <56118C9A.7080303@FreeBSD.org> <5612B688.9000803@tzi.de> From: "Andrey V. Elsukov" Message-ID: <5612C014.7090506@FreeBSD.org> Date: Mon, 5 Oct 2015 21:23:16 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5612B688.9000803@tzi.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="v4MBjnxGTQoH8KvMS76eB9v6AHl4nNCnD" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2015 18:24:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --v4MBjnxGTQoH8KvMS76eB9v6AHl4nNCnD Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 05.10.2015 20:42, Julian Kornberger wrote: > Hi Andrey, >=20 > I compiled and installed a new Kernel with your patch, but is does not > help. It seems as if the crash only occurs if I have two GRE interfaces= > and I destroy the second one (gre1). If I destroy the first one (gre0),= > it does not crash: >=20 > gre0 with 10.9.0.13 -> 10.9.0.12 > gre1 with 10.9.0.15 -> 10.9.0.14 (destroyed) It seems this panic now only possible when ip_encap list contains stale pointer to gre softc. And since you use releng/10.2 branch, try also apply this patch from stable/10: https://svnweb.freebsd.org/base?view=3Drevision&revision=3D288529 --=20 WBR, Andrey V. Elsukov --v4MBjnxGTQoH8KvMS76eB9v6AHl4nNCnD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWEsAUAAoJEAHF6gQQyKF6K1gH/14ZAxgVtAzTyscc6OVcDBIy lfx7mvYQkhQzGUqZXESiOjIfSmOozVWXHVHf1EiaQ8lqpf2iToF/PlasM+LwlncE nUVSQAsmvO9xXlK/z5UEzi/RhKrquwZaoXqZNxBgiRwvwIuIlPYi1eTEkdR6EjD2 9y87vhW3aRDjJbEGxT6E4RK8BerNH4ZNEV1ETz/VGQ4XpoSEl0FPZPiQRIgVWaU1 HkbwPtOI8bQsoOMYYSVvGv3hBTQPR91Qm3jSX+UuewIwU9GnCH1plir59UskHMbh 8frpmndwhn0sim+BVTX5UOvWlbMYqmr71h3ZYZwpzX/612tDw88tcxh9ztyaOTs= =GSEa -----END PGP SIGNATURE----- --v4MBjnxGTQoH8KvMS76eB9v6AHl4nNCnD--