From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valentine Sinitsyn Subject: ipv6_get_ifaddr() not exported Date: Fri, 20 Jan 2017 11:33:04 +0500 Message-ID: <51967919-8cbd-e324-6851-0c3ed505ca4d@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: netdev@vger.kernel.org Return-path: Received: from mail-lf0-f48.google.com ([209.85.215.48]:33725 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751260AbdATGku (ORCPT ); Fri, 20 Jan 2017 01:40:50 -0500 Received: by mail-lf0-f48.google.com with SMTP id k86so51066759lfi.0 for ; Thu, 19 Jan 2017 22:40:49 -0800 (PST) Received: from ?IPv6:2a02:6b8:0:2807:cde1:8c1:2576:7afc? ([2a02:6b8:0:2807:cde1:8c1:2576:7afc]) by smtp.googlemail.com with ESMTPSA id r18sm2950941lff.4.2017.01.19.22.33.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jan 2017 22:33:05 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: Hi all, I'm working on a custom Netfilter module which could seemingly use ipv6_get_ifaddr() function to find a netdev which has a destination IPv6 assigned (if any). The function is public, but not exported, so I can't use it in my module. Am I doing anything wrong, or I'm just a first type to use ipv6_get_ifaddr() outside net/ipv6 code, and it's okay to export it now? Thanks, Valentine