Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1529670pxb; Thu, 24 Mar 2022 23:44:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNBC4EAiuYlNrnypd4zbUFJH/IpqbqMlagdfwau5kKHgl+JteJqipPfj8G5vJuyfqr10hp X-Received: by 2002:a17:902:6845:b0:153:9af1:3134 with SMTP id f5-20020a170902684500b001539af13134mr10022931pln.169.1648190658847; Thu, 24 Mar 2022 23:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648190658; cv=none; d=google.com; s=arc-20160816; b=LUN3d3tIpSKQGvaEqRhr7MmB1C99e1ol6rzoAr3ODwJo8ZCl18SmZQdsPbFRsb2Fd1 U8Z4LI3GaVKXuGmalc6NuIyD4VbgM9N/OySja1WzcXdJTHi3cu0GAqwg1ArBn6GnD8MY YF9OXeIRSDsaaOfbueJHztgZv0iBFaOW7rgnN0Gi1MXz2VMgMCtTLMg9A0fMh4ks+32E FaB8N7plO/sk8JUIqp13p02bE1nospZFtWqNKUzaMZsEkBktFdOj4b3aoro9+D+ChHlh HtMbpXaD8Y6tgwPctLXGip1N2FF47WXkuikwoTBjnOvaleVHPuuvwibP/VAkeYuSEVRv B87Q== 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:date:subject:cc:to:from:sender :hmm_source_type:hmm_attache_num:hmm_source_ip; bh=y2H2jXBVEV6FplDMbJonnNJe6+TSIDkjvANOM/GMHOA=; b=vpXgBhyBJvHYYKGdSXGwkMChU4QpMofq1EFbdlPmQfKA4Bqv6tLIdhD9x1Z8G/AG0q sdOE6TKJS6R7Z7gTFu/OWHpfaiqyPXPcWxYVepZX4FVTWX9vm6eSVSeeUQl2qRmAWGb2 CfTpRYKFJIwaaU+Q82gk3Ui5AaF45N725zHFJk+DI1LZQ5pZxsVlVpe4PhzgSzxJZrbG 1DAmSY6zaFlgQwXQCW15rdhTJnSPlcZP64navWIe0HaoIHmRK/Y5esY3455f3ApMG39b 7tWBNV+c+h/zU6SDmFRsx+EEOIXyMlXIU4cPrQG7HOWgFdHNnPSSy9WVNhrUh5ohpFkh C3iw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a170902ea0800b00153b2d1661bsi1485826plg.547.2022.03.24.23.44.03; Thu, 24 Mar 2022 23:44:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240457AbiCWMMO (ORCPT + 99 others); Wed, 23 Mar 2022 08:12:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242743AbiCWMMK (ORCPT ); Wed, 23 Mar 2022 08:12:10 -0400 Received: from chinatelecom.cn (prt-mail.chinatelecom.cn [42.123.76.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6444C3EF0B; Wed, 23 Mar 2022 05:10:37 -0700 (PDT) HMM_SOURCE_IP: 172.18.0.48:39292.1744386625 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-202.80.192.38 (unknown [172.18.0.48]) by chinatelecom.cn (HERMES) with SMTP id 006A6280096; Wed, 23 Mar 2022 20:10:33 +0800 (CST) X-189-SAVE-TO-SEND: +sunshouxin@chinatelecom.cn Received: from ([172.18.0.48]) by app0024 with ESMTP id 276ae1b2306842268f39292b7fe3135a for j.vosburgh@gmail.com; Wed, 23 Mar 2022 20:10:37 CST X-Transaction-ID: 276ae1b2306842268f39292b7fe3135a X-Real-From: sunshouxin@chinatelecom.cn X-Receive-IP: 172.18.0.48 X-MEDUSA-Status: 0 Sender: sunshouxin@chinatelecom.cn From: Sun Shouxin To: j.vosburgh@gmail.com, vfalico@gmail.com, andy@greyhouse.net, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, yoshfuji@linux-ipv6.org, dsahern@kernel.org, oliver@neukum.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, huyd12@chinatelecom.cn, sunshouxin@chinatelecom.cn Subject: [PATCH v6 3/4] net:ipv6:Export inet6_ifa_finish_destroy and ipv6_get_ifaddr Date: Wed, 23 Mar 2022 08:09:05 -0400 Message-Id: <20220323120906.42692-4-sunshouxin@chinatelecom.cn> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220323120906.42692-1-sunshouxin@chinatelecom.cn> References: <20220323120906.42692-1-sunshouxin@chinatelecom.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Export inet6_ifa_finish_destroy and ipv6_get_ifaddr for bonding usage. Signed-off-by: Sun Shouxin --- net/ipv6/addrconf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index bb1912eacd90..6825d70c34fb 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -975,6 +975,7 @@ void inet6_ifa_finish_destroy(struct inet6_ifaddr *ifp) kfree_rcu(ifp, rcu); } +EXPORT_SYMBOL(inet6_ifa_finish_destroy); static void ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp) @@ -2037,6 +2038,7 @@ struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, const struct in6_addr *add return result; } +EXPORT_SYMBOL(ipv6_get_ifaddr); /* Gets referenced address, destroys ifaddr */ -- 2.27.0