Re: GPF when doing jail -r, possibly an use-after-free

2012-07-09 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/09/12 13:47, Mikolaj Golub wrote: > > On Mon, 9 Jul 2012 06:07:05 + Bjoern A. Zeeb wrote: > > BAZ> On 9. Jul 2012, at 06:01 , Mikolaj Golub wrote: > >>> >>> On Sun, 8 Jul 2012 20:52:55 + Bjoern A. Zeeb wrote: >>> >>> BAZ> Situation

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-09 Thread Mikolaj Golub
On Mon, 9 Jul 2012 06:07:05 + Bjoern A. Zeeb wrote: BAZ> On 9. Jul 2012, at 06:01 , Mikolaj Golub wrote: >> >> On Sun, 8 Jul 2012 20:52:55 + Bjoern A. Zeeb wrote: >> >> BAZ> Situation 1) >> >> BAZ> epairNa is in base, eiparNb is jail foo >> BAZ> stop jail foo:

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-08 Thread Bjoern A. Zeeb
On 9. Jul 2012, at 06:01 , Mikolaj Golub wrote: > > On Sun, 8 Jul 2012 20:52:55 + Bjoern A. Zeeb wrote: > > BAZ> Situation 1) > > BAZ> epairNa is in base, eiparNb is jail foo > BAZ> stop jail foo: jail -r foo > BAZ> both epairN[ab] will live in base and can be desti

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-08 Thread Mikolaj Golub
On Sun, 8 Jul 2012 20:52:55 + Bjoern A. Zeeb wrote: BAZ> Situation 1) BAZ> epairNa is in base, eiparNb is jail foo BAZ> stop jail foo: jail -r foo BAZ> both epairN[ab] will live in base and can be destiryed without vnet switching BAZ> Situation 2) BAZ>

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-08 Thread Bjoern A. Zeeb
On 8. Jul 2012, at 20:40 , Mikolaj Golub wrote: > > On Sat, 7 Jul 2012 20:38:23 + Bjoern A. Zeeb wrote: > > BAZ> On 6. Jul 2012, at 05:53 , Mikolaj Golub wrote: > >>> >>> On Thu, 5 Jul 2012 20:21:53 + Bjoern A. Zeeb wrote: >>> >>> BAZ> On 5. Jul 2012, at 19:53 , Mikolaj Golub wrote:

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-08 Thread Mikolaj Golub
On Sat, 7 Jul 2012 20:38:23 + Bjoern A. Zeeb wrote: BAZ> On 6. Jul 2012, at 05:53 , Mikolaj Golub wrote: >> >> On Thu, 5 Jul 2012 20:21:53 + Bjoern A. Zeeb wrote: >> >> BAZ> On 5. Jul 2012, at 19:53 , Mikolaj Golub wrote: >> On Thu, 05 Jul 2012 12:18:20 -0700 Xin Li

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-07 Thread Bjoern A. Zeeb
On 6. Jul 2012, at 05:53 , Mikolaj Golub wrote: > > On Thu, 5 Jul 2012 20:21:53 + Bjoern A. Zeeb wrote: > > BAZ> On 5. Jul 2012, at 19:53 , Mikolaj Golub wrote: > >>> >>> On Thu, 05 Jul 2012 12:18:20 -0700 Xin Li wrote: >>> >>> XL> Hi, Mikolaj, >>> >>> XL> On 07/04/12 00:00, Mikolaj Gol

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-05 Thread Mikolaj Golub
On Thu, 5 Jul 2012 20:21:53 + Bjoern A. Zeeb wrote: BAZ> On 5. Jul 2012, at 19:53 , Mikolaj Golub wrote: >> >> On Thu, 05 Jul 2012 12:18:20 -0700 Xin Li wrote: >> >> XL> Hi, Mikolaj, >> >> XL> On 07/04/12 00:00, Mikolaj Golub wrote: Is this observed after destroying epair? Th

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-05 Thread Bjoern A. Zeeb
On 5. Jul 2012, at 19:53 , Mikolaj Golub wrote: > > On Thu, 05 Jul 2012 12:18:20 -0700 Xin Li wrote: > > XL> Hi, Mikolaj, > > XL> On 07/04/12 00:00, Mikolaj Golub wrote: >>> Is this observed after destroying epair? There is an issue with >>> epair: on destroy, when epair_clone_destroy() calls >

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-05 Thread Mikolaj Golub
On Thu, 05 Jul 2012 12:18:20 -0700 Xin Li wrote: XL> Hi, Mikolaj, XL> On 07/04/12 00:00, Mikolaj Golub wrote: >> Is this observed after destroying epair? There is an issue with >> epair: on destroy, when epair_clone_destroy() calls >> ether_ifdetach() for its second half it does not switch

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-05 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Mikolaj, On 07/04/12 00:00, Mikolaj Golub wrote: > Is this observed after destroying epair? There is an issue with > epair: on destroy, when epair_clone_destroy() calls > ether_ifdetach() for its second half it does not switch to its vnet > and

Re: GPF when doing jail -r, possibly an use-after-free

2012-07-04 Thread Mikolaj Golub
On Tue, 03 Jul 2012 10:45:40 -0700 Xin Li wrote: XL> Hi, XL> I've talked with bz@ briefly about this and we think it's better to XL> put this to a mailing list. XL> Here is what I have seen on 8.2-RELEASE (with a few local patches). XL> When doing "jail -r ", after a while, a GPF happens