Re: [PATCH v4 2/6] netlink: Add new netlink_release function

From: Jakub Kicinski
Date: Sat Apr 01 2023 - 00:08:44 EST


On Fri, 31 Mar 2023 16:55:24 -0700 Anjali Kulkarni wrote:
> 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@xxxxxxxxxx>

Acked-by: Jakub Kicinski <kuba@xxxxxxxxxx>