From patchwork Fri Apr 5 12:16:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amerigo Wang X-Patchwork-Id: 234116 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 AE5552C00BC for ; Fri, 5 Apr 2013 23:16:51 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161246Ab3DEMQp (ORCPT ); Fri, 5 Apr 2013 08:16:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52422 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1160994Ab3DEMQo (ORCPT ); Fri, 5 Apr 2013 08:16:44 -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 r35CGgup032580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 5 Apr 2013 08:16:43 -0400 Received: from localhost.localdomain (vpn1-114-99.nay.redhat.com [10.66.114.99]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r35CGZdE007792; Fri, 5 Apr 2013 08:16:40 -0400 From: Cong Wang To: netdev@vger.kernel.org Cc: Stephen Hemminger , "David S. Miller" , Cong Wang Subject: [Patch net-next v2 2/4] ipv6: export ipv6_sock_mc_join and ipv6_sock_mc_drop Date: Fri, 5 Apr 2013 20:16:23 +0800 Message-Id: <1365164186-21719-2-git-send-email-amwang@redhat.com> In-Reply-To: <1365164186-21719-1-git-send-email-amwang@redhat.com> References: <1365164186-21719-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,