On 10/28/2014 06:56 PM, Andrew Morton wrote: > On Tue, 28 Oct 2014 18:18:56 -0600 Jens Axboe <axboe@xxxxxxxxx> wrote: > >>> diff -puN lib/scatterlist.c~lib-scatterlist-fix-memory-leak-with-scsi-mq lib/scatterlist.c >>> --- a/lib/scatterlist.c~lib-scatterlist-fix-memory-leak-with-scsi-mq >>> +++ a/lib/scatterlist.c >>> @@ -203,10 +203,10 @@ void __sg_free_table(struct sg_table *ta >>> } >>> >>> table->orig_nents -= sg_size; >>> - if (!skip_first_chunk) { >>> - free_fn(sgl, alloc_size); >>> + if (skip_first_chunk) >>> skip_first_chunk = false; >>> - } >>> + else >>> + free_fn(sgl, alloc_size); >>> sgl = next; >>> } >>> >>> _ >> >> I already queued this one up in for-linus. > > I'd have known that if for-linus was in -next... Ah, but it _is_ in for-next, always is. But this particular patch was queued up yesterday iirc, so the usual -next latency applies... -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html