Re: Problem in vr_stop()

2012-09-18 Thread Mike Belopuhov
diff looks good to me. ok mikeb On Tue, Sep 18, 2012 at 12:49 +0200, Gerhard Roth wrote: > Hi, > > we observed mysterious panics while stopping vr interfaces. This was due > to vr_stop() trying to stop the transfers but then not waiting for them > to really finish but rather remove their DMA buf

Problem in vr_stop()

2012-09-18 Thread Gerhard Roth
Hi, we observed mysterious panics while stopping vr interfaces. This was due to vr_stop() trying to stop the transfers but then not waiting for them to really finish but rather remove their DMA buffer mappings immediately. The patch below uses a loop that was copied from vr_setcfg() (!IFM_ACTIVE)