commit | 1c92b4e50ef926d1e26fcc056a520e4a7d12478c | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Thu May 31 13:24:26 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sun Jun 03 18:08:40 2007 -0700 |
tree | 5657e611aef30e1f994d018e23a3a8cffa38677e | |
parent | c1a13ff57ab1ce52a0aae9984594dbfcfbaf68c0 [diff] |
[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: David S. Miller <davem@davemloft.net>