Re: uow patch

2015-08-31 Thread Martin Pieuchot
On 30/08/15(Sun) 09:31, John L. Scarfone wrote: > On Sun, Aug 30, 2015 at 12:32:24PM +0200, Martin Pieuchot stated: > > That's good but the original design of allocating an xfer for every > > usbd_transfer(9) call does not make much sense. > > > > You could allocate two xfers (one for read and

Re: uow patch

2015-08-30 Thread Martin Pieuchot
On 29/08/15(Sat) 16:33, John L. Scarfone wrote: fixes panic on attach/detach due to free list corruption, also use after usbd_free_xfer(), tested on i386 That's good but the original design of allocating an xfer for every usbd_transfer(9) call does not make much sense. You could allocate two

uow patch

2015-08-29 Thread John L. Scarfone
fixes panic on attach/detach due to free list corruption, also use after usbd_free_xfer(), tested on i386 ~~~ Index: uow.c === RCS file: /cvs/src/sys/dev/usb/uow.c,v retrieving revision 1.33 diff -u -p -s -r1.33 uow.c --- uow.c