[INET]: Fix inet_diag dead-lock regression
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 3 Dec 2007 04:51:25 +0000 (15:51 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 3 Dec 2007 04:51:25 +0000 (15:51 +1100)
The inet_diag register fix broke inet_diag module loading because the
loaded module had to take the same mutex that's already held by the
loader in order to register the new handler.

This patch fixes it by introducing a separate mutex to protect the
handling of handlers.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found