Mikolaj Golub 7edc3d88eb 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
2012-07-09 20:38:18 +00:00
..
2012-06-27 16:15:13 +00:00
2012-07-03 08:03:07 +00:00
2012-05-23 06:49:50 +00:00
2012-07-02 14:03:19 +00:00
2012-06-11 17:42:39 +00:00
2012-02-28 15:07:05 +00:00
2012-07-09 10:59:39 +00:00
2012-04-16 10:33:46 +00:00