OpenCloudOS-Kernel/net/netlink
Eric Dumazet 37103a9d7f sock_diag: add module pointer to "struct sock_diag_handler"
[ Upstream commit 114b4bb1cc19239b272d52ebbe156053483fe2f8 ]

Following patch is going to use RCU instead of
sock_diag_table_mutex acquisition.

This patch is a preparation, no change of behavior yet.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Stable-dep-of: eb02688c5c45 ("ipv6: release nexthop on device removal")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-09 10:32:09 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile netlink: add infrastructure to expose policies to userspace 2020-04-30 17:51:42 -07:00
af_netlink.c netlink: terminate outstanding dump on socket close 2024-11-22 15:38:30 +01:00
af_netlink.h netlink: terminate outstanding dump on socket close 2024-11-22 15:38:30 +01:00
diag.c sock_diag: add module pointer to "struct sock_diag_handler" 2024-12-09 10:32:09 +01:00
genetlink.c genetlink: hold RCU in genlmsg_mcast() 2024-11-01 01:58:23 +01:00
policy.c net: genl: fix error path memory leak in policy dumping 2022-08-18 10:20:48 -07:00