aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/af_unix.h
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2022-06-21 17:19:11 +0000
committerDavid S. Miller <[email protected]>2022-06-22 11:59:43 +0000
commit79b05beaa5c340e1649dc7462e056ae33b916131 (patch)
treeb6a8cd6babb1b98c4fdee205471d5bb01c63cd0b /include/net/af_unix.h
parentaf_unix: Define a per-netns hash table. (diff)
downloadkernel-79b05beaa5c340e1649dc7462e056ae33b916131.tar.gz
kernel-79b05beaa5c340e1649dc7462e056ae33b916131.zip
af_unix: Acquire/Release per-netns hash table's locks.
This commit adds extra spin_lock/spin_unlock() for a per-netns hash table inside the existing ones for unix_table_locks. As of this commit, sockets are still linked in the global hash table. After putting sockets in a per-netns hash table and removing the old one in the next patch, we remove the global locks in the last patch. Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/net/af_unix.h')
0 files changed, 0 insertions, 0 deletions