Skip to content
Commit 1c92b4e5 authored by David S. Miller's avatar David S. Miller
Browse files

[AF_UNIX]: Make socket locking much less confusing.



The unix_state_*() locking macros imply that there is some
rwlock kind of thing going on, but the implementation is
actually a spinlock which makes the code more confusing than
it needs to be.

So use plain unix_state_lock and unix_state_unlock.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c1a13ff5
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