aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-06-21 10:19:12 -0700
committerDavid S. Miller <davem@davemloft.net>2022-06-22 12:59:43 +0100
commitcf2f225e2653734e66e91c09e1cbe004bfd3d4a7 (patch)
tree843d49b6f5f23c768682e422f0f8b5bf50dc742f /net/switchdev
parentaf_unix: Acquire/Release per-netns hash table's locks. (diff)
downloadlinux-cf2f225e2653734e66e91c09e1cbe004bfd3d4a7.tar.gz
linux-cf2f225e2653734e66e91c09e1cbe004bfd3d4a7.zip
af_unix: Put a socket into a per-netns hash table.
This commit replaces the global hash table with a per-netns one and removes the global one. We now link a socket in each netns's hash table so we can save some netns comparisons when iterating through a hash bucket. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions