]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tcp_metrics: use parallel_ops for tcp_metrics_nl_family
authorEric Dumazet <edumazet@google.com>
Tue, 16 Apr 2024 16:20:25 +0000 (16:20 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 18 Apr 2024 01:31:53 +0000 (18:31 -0700)
commitba3de6d8035ef1efdd27e9a5047412f7cf3fb3a6
tree49dbb43cdbf1eedd0ca902aad21d8070c84cbb3c
parentade1c9cc404a15057b62888352e57fd5f54c5331
tcp_metrics: use parallel_ops for tcp_metrics_nl_family

TCP_METRICS_CMD_GET and TCP_METRICS_CMD_DEL use their
own locking (tcp_metrics_lock and RCU),
they do not need genl_mutex protection.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240416162025.1251547-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp_metrics.c