-----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 <delp...@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-----
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to