Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1959182rwl; Fri, 31 Mar 2023 21:52:31 -0700 (PDT) X-Google-Smtp-Source: AKy350aKwcVvcqmGK9vUr9wzehdA9ZM/ONrQ5CnnETpQSp8Zmuh9XsVPXjFHVhSjB9f1Z7NN3dYJ X-Received: by 2002:a17:902:834a:b0:19d:1e21:7f59 with SMTP id z10-20020a170902834a00b0019d1e217f59mr25674622pln.0.1680324750996; Fri, 31 Mar 2023 21:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680324750; cv=none; d=google.com; s=arc-20160816; b=C0jCG8XJIhYtV8hRJ6H54qyPFDlPqztRDg+aaeOkka13xMwARBmmVNEVNTdTE86YFi sOnapkPNN9EUp1Pj9RcW6uKhl/t2HYpJoYUImsblmqnBPJ9RpmkE+OtMRqtsXqOwFbwJ SXlmaAsMzzp3oA1aLl3KEs+FwbXaAET9ku7aZDegNi5LZkTMd/NkeeiKz6XeYFxypeva hM4ZmNF4/uDTPYEgVUVbiOwRCYBQt2Czr3X5UNkcLutmnXGkLnwLwUqBxPZ1L7Y4qC5r 2tcMSWJjI4PRAltl1SfOYBpUlZ4wCnnD85dIMcag5I26hFB1YOYYAn9OreNuOIunVg92 0Rdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=oGLbagcBhnslDP9IJst/nopZUpw5NQID+AtheCj2TeU=; b=LMPKDMWfWyD4jyTuHUCz1zYHWYA7/uh/RHqCPcrHKYKm+X++yG3Pn0DYLQFFN6GR7t 70Z4rIXMbuILXo+O39RgxYM0InmcY+KDT+zMQ3Te6AHZCYidQpbqxKzU3kS3LP9bXYzM N80AUXufeUSnVVM/kdHYLhv+6aZ5d1yYh3X/K0L7qO/gkZk+aKFE3VKs6khDQBoxk2VJ wzs81Rb9sTQaOKlk253UX5E+oefL865AyNwk0OJF3cN9SkQuP3yB8WaihkIw8zr1v+ju MHqZGFNkWiFiAqMGo8LqOP8kVmFOFd4MhMURCUTFtwRgUiCTwjO+k1Wo2SyCXLi0NhMP TWbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TDIKUVd+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b14-20020a170902b60e00b001a216fddcfesi3592583pls.644.2023.03.31.21.52.16; Fri, 31 Mar 2023 21:52:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TDIKUVd+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233301AbjDAEIk (ORCPT + 99 others); Sat, 1 Apr 2023 00:08:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233283AbjDAEIi (ORCPT ); Sat, 1 Apr 2023 00:08:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C86D51A96F; Fri, 31 Mar 2023 21:08:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 639ED60EC7; Sat, 1 Apr 2023 04:08:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FA65C433EF; Sat, 1 Apr 2023 04:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680322116; bh=JhUfMI/d5rnRBHZ2MOdkLbza9ibqlixBVrLlp2RDPbU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TDIKUVd+DEfI+CojH/5roqbAXB+K/E29Nw0JDXefmfZyvLxnUYaiFGn90/cjVomcG IYC8jXMb6WaYpN16ppV/mbaQRwS8Q/k5Z+ruiiLhkeaArdbApgjaKLXdA+5Tamugxv axcNIHeGbAqgvbS+HQCblMRl+btCLWAv4fuOCza+u6VghkIyHsE8RAq0NvKLAaA8Bz CYCpjlviiZJPVSvpOw6J4H9CJdtJcmMLJ23XmZAIIBDZh0UATPQKXc4xLdBLZjjjr6 EeiStLPiS+bZb3BiqfxJJr+TAIunjmPFS+RwsDfIjB+iOuctDYVI4tAWrmX95Ueajl ZJGD0Lt+AgxYA== Date: Fri, 31 Mar 2023 21:08:35 -0700 From: Jakub Kicinski To: Anjali Kulkarni Cc: davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, zbr@ioremap.net, brauner@kernel.org, johannes@sipsolutions.net, ecree.xilinx@gmail.com, leon@kernel.org, keescook@chromium.org, socketcan@hartkopp.net, petrm@nvidia.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v4 2/6] netlink: Add new netlink_release function Message-ID: <20230331210835.2312b644@kernel.org> In-Reply-To: <20230331235528.1106675-3-anjali.k.kulkarni@oracle.com> References: <20230331235528.1106675-1-anjali.k.kulkarni@oracle.com> <20230331235528.1106675-3-anjali.k.kulkarni@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Jakub Kicinski