Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Brandon Philips <brandon@ifup.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
	David Miller <davem@davemloft.net>,
	linux-crypto@vger.kernel.org, Tim Abbott <tabbott@mit.edu>
Subject: Re: Fixing gave up waiting for init of module libcrc32c.
Date: Thu, 1 Apr 2010 09:55:45 +1030	[thread overview]
Message-ID: <201004010955.45284.rusty@rustcorp.com.au> (raw)
In-Reply-To: <20100331190351.GG25587@jenkins.home.ifup.org>

On Thu, 1 Apr 2010 05:33:51 am Brandon Philips wrote:
> On 09:36 Tue 30 Mar 2010, Rusty Russell wrote:
> > The real fix here is to drop the lock, like Brandon suggested, but
> > we need to do it more carefully: when we re-acquire the lock we need
> > to re-lookup the symbol in case the module has vanished or changed.
> > 
> > Brandon, I can't see how libcrc32c's module_init calls
> > crypto_alloc_shash, but the problem is reproducible with simple
> > example modules.  Does it fix your problem?
> 
> Did you see my email yesterday explaining how this came about? Does
> that answer your question?

Yep, thanks.

> Reviewed the patch and it looks good and I tested it on the machine
> and it works. A couple of trivial things inline below if you care.
> 
> Signed-off-by: Brandon Philips <brandon@ifup.org>
> Cc: stable@kernel.org
> 
> Thanks Rusty.

Thanks; already had the two caught by checkpatch; changing the other
printk is not something I like to do in the same patch.

Thanks!
Rusty.

  reply	other threads:[~2010-03-31 23:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 23:40 Fixing gave up waiting for init of module libcrc32c Brandon Philips
2010-03-20  1:01 ` Herbert Xu
2010-03-20  1:08   ` Herbert Xu
2010-03-20  2:46     ` David Miller
2010-03-20  3:45       ` Herbert Xu
2010-03-20  4:21     ` Brandon Philips
2010-03-20  4:24       ` Herbert Xu
2010-03-20  5:23         ` David Miller
2010-03-20 12:29           ` Herbert Xu
2010-03-20 13:16             ` Neil Horman
2010-03-29 23:06             ` Rusty Russell
2010-03-31 19:03               ` Brandon Philips
2010-03-31 23:25                 ` Rusty Russell [this message]
2010-03-30 16:50             ` Brandon Philips
2010-03-30 17:47               ` Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201004010955.45284.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=brandon@ifup.org \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=tabbott@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox