From owner-svn-src-head@FreeBSD.ORG Mon Jul 9 20:49:23 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42DE21065670; Mon, 9 Jul 2012 20:49:23 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) by mx1.freebsd.org (Postfix) with ESMTP id 254A48FC17; Mon, 9 Jul 2012 20:49:23 +0000 (UTC) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 7069511CBF; Mon, 9 Jul 2012 13:49:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1341866957; bh=zvtrKkjbYaJVTkq8RHhu1OT8zJM6ZtHItH9s2OBjBBk=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=1F21nhUHNbOCILw1hRtOFtc+ZAkuq/rwU8+6YhtIfVBw/P+l9XQc+OFetK2eB4yM/ Ut984cyV/XjhK3Vby/leIc2Va81swqxMTa7JhzliLCd0QaSKQ/s3O9CSsitGc9VJAt X1l6NMZiVDMazkJr6YjWsPiWIqUrhMydTcJEEafo= Message-ID: <4FFB43CD.4070802@delphij.net> Date: Mon, 09 Jul 2012 13:49:17 -0700 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Mikolaj Golub References: <201207092038.q69KcIi1038787@svn.freebsd.org> In-Reply-To: <201207092038.q69KcIi1038787@svn.freebsd.org> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, d@delphij.net Subject: Re: svn commit: r238309 - head/sys/net X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 20:49:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 07/09/12 13:38, Mikolaj Golub wrote: > Author: trociny Date: Mon Jul 9 20:38:18 2012 New Revision: > 238309 URL: http://svn.freebsd.org/changeset/base/238309 > > Log: In epair_clone_destroy(), when destroying the second half, we > have to switch to its vnet before calling ether_ifdetach(). > Otherwise if the second half resides in a different vnet, > if_detach() silently fails leaving a stale pointer in V_ifnet list, > and the system crashes trying to access this pointer later. > > Another solution could be not to allow to destroy epair unless > both ends are in the home vnet. > > Discussed with: bz Tested by: delphij Thanks! Since this affects RELENG_9 and RELENG_8, could you please also MFC after a settle period? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJP+0PMAAoJEG80Jeu8UPuz/ugH/2RmmdfCapeP9eQkIPkaImpm D5ghJ0fS6dOM87i5QY6c0rJU2TrcLZHkZGnuYv+BSMqCz5de8dw9s7UMM6sHLL92 i4tgpDE2DQxM4b5skR7yCBRES6IAiY6kDIgVskaS95PxA9wuJA4ohqS8pQ5Tp6h4 lM2urad7+FpYGLZRTWY2yOzgS/g2JZNEGSX6tPIAhg8xX1hryP869zjjHJGd4932 X6pPyRtNdTHB69t00UiVMbJPzcSLtue4ECTms0xCPKC7t0+VZXgiYWOJlNnPQYzy lUkcYy8ZIyUUTD0duOdyun4oQ7xNEdZgZxcRI0Ids68AQs2xUoddL0IyX1ZMe9w= =kSZl -----END PGP SIGNATURE-----