On 06/25/2014 03:48 PM, Jeff Layton wrote:
> The patch below has already made it into mainline as commit
> 1b19453d1c6abcfa7c312ba6c9f11a277568fc94. I think we need it in stable
> as well. In addition to making the cache pruner more efficient, it also
> fixes a logic bug in prune_cache_entries. If num_drc_entries is greater
> than the max, then we can end up freeing the entry even if it's still
> RC_INPROG. This patch ensures that RC_INPROG entries are always skipped
> and that prevents a use-after-free.
> 
> Please apply this to any stable kernel, v3.9 or above. Original patch
> description follows.

Pushed to 3.12 too. Thanks.

-- 
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to