Skip to content
Commit d523a328 authored by Herbert Xu's avatar Herbert Xu
Browse files

[INET]: Fix inet_diag dead-lock regression



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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 2b1e300a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment