summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorZiwei Xiao <ziweixiao@google.com>2024-06-25 00:12:27 +0000
committerJakub Kicinski <kuba@kernel.org>2024-06-25 17:48:33 -0700
commit1108566ca509e67aa8abfbf914b1cd31e9ff51f8 (patch)
tree914d0e31c5f77802d5dedbe2719e4fb2e6ee94d0 /net/unix/af_unix.c
parent63173885ccb253ff76e1da5cb148d1ca4b69a019 (diff)
gve: Add adminq mutex lock
We were depending on the rtnl_lock to make sure there is only one adminq command running at a time. But some commands may take too long to hold the rtnl_lock, such as the upcoming flow steering operations. For such situations, it can temporarily drop the rtnl_lock, and replace it for these operations with a new adminq lock, which can ensure the adminq command execution to be thread-safe. Signed-off-by: Ziwei Xiao <ziweixiao@google.com> Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com> Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20240625001232.1476315-2-ziweixiao@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions