[lkml]   [2011]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] crypto: Fix rwsem leak in crypto_user
On Tue, Nov 01, 2011 at 04:08:37PM -0600, Jonathan Corbet wrote:
> The list_empty case in crypto_alg_match() will return without calling
> up_read() on crypto_alg_sem. We could do the "goto out" routine, but the
> function will clearly do the right thing with that test simply removed.
> Signed-off-by: Jonathan Corbet <>

Patch applied. Thanks a lot Jon!
Email: Herbert Xu <>
Home Page:
PGP Key:

 \ /
  Last update: 2011-11-01 23:21    [W:0.035 / U:29.548 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site