mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
af_unix: update locking comment
We latch our state using a spinlock not a r/w kind of lock. Signed-off-by: Daniel Baluta <dbaluta@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
468c3f924f
commit
e5537bfc98
1 changed files with 1 additions and 1 deletions
|
|
@ -1124,7 +1124,7 @@ restart:
|
|||
|
||||
/* Latch our state.
|
||||
|
||||
It is tricky place. We need to grab write lock and cannot
|
||||
It is tricky place. We need to grab our state lock and cannot
|
||||
drop lock on peer. It is dangerous because deadlock is
|
||||
possible. Connect to self case and simultaneous
|
||||
attempt to connect are eliminated by checking socket
|
||||
|
|
|
|||
Loading…
Reference in a new issue