From patchwork Wed Apr 17 05:10:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amerigo Wang X-Patchwork-Id: 237148 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BD0DC2C014D for ; Wed, 17 Apr 2013 15:11:01 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755475Ab3DQFK6 (ORCPT ); Wed, 17 Apr 2013 01:10:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37827 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204Ab3DQFK5 (ORCPT ); Wed, 17 Apr 2013 01:10:57 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3H5AtNG015955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Apr 2013 01:10:55 -0400 Received: from cr0.sunraytvi.com (vpn1-115-1.nay.redhat.com [10.66.115.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r3H5ARnb025015; Wed, 17 Apr 2013 01:10:50 -0400 From: Cong Wang To: netdev@vger.kernel.org Cc: Stephen Hemminger , "David S. Miller" , Cong Wang Subject: [Patch net-next v4 2/5] ipv6: export ipv6_sock_mc_join and ipv6_sock_mc_drop Date: Wed, 17 Apr 2013 13:10:19 +0800 Message-Id: <1366175423-27310-3-git-send-email-amwang@redhat.com> In-Reply-To: <1366175423-27310-1-git-send-email-amwang@redhat.com> References: <1366175423-27310-1-git-send-email-amwang@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Cong Wang They will be used by vxlan module. Cc: Stephen Hemminger Cc: David S. Miller Signed-off-by: Cong Wang --- net/ipv6/mcast.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index bfa6cc3..d03426d 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @@ -200,6 +200,7 @@ int ipv6_sock_mc_join(struct sock *sk, int ifindex, const struct in6_addr *addr) return 0; } +EXPORT_SYMBOL(ipv6_sock_mc_join); /* * socket leave on multicast group @@ -246,6 +247,7 @@ int ipv6_sock_mc_drop(struct sock *sk, int ifindex, const struct in6_addr *addr) return -EADDRNOTAVAIL; } +EXPORT_SYMBOL(ipv6_sock_mc_drop); /* called with rcu_read_lock() */ static struct inet6_dev *ip6_mc_find_dev_rcu(struct net *net,