Skip to content
Snippets Groups Projects
Commit 8e904550 authored by Mathias Krause's avatar Mathias Krause Committed by David S. Miller
Browse files

sock_diag: Simplify sock_diag_handlers[] handling in __sock_diag_rcv_msg


The sock_diag_lock_handler() and sock_diag_unlock_handler() actually
make the code less readable. Get rid of them and make the lock usage
and access to sock_diag_handlers[] clear on the first sight.

Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e601a53
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment