projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468c3f9
)
af_unix: update locking comment
author
Daniel Baluta
<dbaluta@ixiacom.com>
Mon, 14 Mar 2011 22:25:33 +0000
(15:25 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 14 Mar 2011 22:25:33 +0000
(15:25 -0700)
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>
net/unix/af_unix.c
patch
|
blob
|
blame
|
history
diff --git
a/net/unix/af_unix.c
b/net/unix/af_unix.c
index 437a99e560e1b5b2196b8734b0eabd0ae4ac75c7..b213ce668c98d5e2f20b99e012f2bc7a5fe5e970 100644
(file)
--- a/
net/unix/af_unix.c
+++ b/
net/unix/af_unix.c
@@
-1124,7
+1124,7
@@
restart:
/* Latch our state.
- It is tricky place. We need to grab
wri
te lock and cannot
+ It is tricky place. We need to grab
our sta
te 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