On Wednesday 04 November 2009 06:48:51 Larry Finger wrote: > At http://marc.info/?l=linux-wireless&m=125695331205062&w=2, a problem > with DMA buffer processing was corrected for the libertas driver. Because > routine usb_fill_bulk_urb() does not check that DMA is possible when ^^^ hmm, usb_fill_bulk_urb? No, that should be usb_submit_urb :) http://osdir.com/ml/linux-wireless/2009-10/msg01182.html > dma_map_single() is called, this condition was not detected until the buffer > was unmapped. By this time memory corruption had occurred. > > The situation is fixed by testing the returned DMA address. If not a legal > address, a WARN_ON(1) is executed to provide traceback and the error is > returned. > > Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html