projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unix: uses an atomic type for scm files accounting
[platform/kernel/linux-starfive.git]
/
include
/
net
/
af_unix.h
diff --git
a/include/net/af_unix.h
b/include/net/af_unix.h
index
e51d727
..
f42fddd
100644
(file)
--- a/
include/net/af_unix.h
+++ b/
include/net/af_unix.h
@@
-42,7
+42,7
@@
struct unix_skb_parms {
} __randomize_layout;
struct scm_stat {
-
u32
nr_fds;
+
atomic_t
nr_fds;
};
#define UNIXCB(skb) (*(struct unix_skb_parms *)&((skb)->cb))