linux/net/netlink
Anjali Kulkarni a4c9a56e6a netlink: Add new netlink_release function
A new function netlink_release is added in netlink_sock to store the
protocol's release function. This is called when the socket is deleted.
This can be supplied by the protocol via the release function in
netlink_kernel_cfg. This is being added for the NETLINK_CONNECTOR
protocol, so it can free it's data when socket is deleted.

Signed-off-by: Anjali Kulkarni <anjali.k.kulkarni@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-07-23 11:34:22 +01:00
..
af_netlink.c netlink: Add new netlink_release function 2023-07-23 11:34:22 +01:00
af_netlink.h netlink: Add new netlink_release function 2023-07-23 11:34:22 +01:00
diag.c netlink: Add __sock_i_ino() for __netlink_diag_dump(). 2023-06-27 09:37:41 -07:00
genetlink.c genetlink: add explicit ordering break check for split ops 2023-07-21 18:49:12 -07: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
policy.c net: genl: fix error path memory leak in policy dumping 2022-08-18 10:20:48 -07:00