Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2012 13:49:17 -0700
From:      Xin Li <delphij@delphij.net>
To:        Mikolaj Golub <trociny@FreeBSD.org>
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
Message-ID:  <4FFB43CD.4070802@delphij.net>
In-Reply-To: <201207092038.q69KcIi1038787@svn.freebsd.org>
References:  <201207092038.q69KcIi1038787@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <delphij@delphij.net>	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-----



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