diff options
author | Anjali Kulkarni <anjali.k.kulkarni@oracle.com> | 2023-07-19 23:18:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-23 13:34:22 +0300 |
commit | a4c9a56e6a2cdeeab7caef1f496b7bfefd95b50e (patch) | |
tree | 6570a5cb17ff33f9b1f97649b8e86bb98cdd019b /net/sysctl_net.c | |
parent | a3377386b56420d78a4c0a931a40f9a25c3ca2bd (diff) | |
download | linux-a4c9a56e6a2cdeeab7caef1f496b7bfefd95b50e.tar.xz |
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>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions