From patchwork Fri Dec 19 14:25:06 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Thery X-Patchwork-Id: 14832 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.176.167]) by ozlabs.org (Postfix) with ESMTP id 8D7E3DDE0F for ; Sat, 20 Dec 2008 01:27:50 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753377AbYLSO1p (ORCPT ); Fri, 19 Dec 2008 09:27:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753358AbYLSO1p (ORCPT ); Fri, 19 Dec 2008 09:27:45 -0500 Received: from ecfrec.frec.bull.fr ([129.183.4.8]:33689 "EHLO ecfrec.frec.bull.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753352AbYLSO1o (ORCPT ); Fri, 19 Dec 2008 09:27:44 -0500 Received: from localhost (localhost [127.0.0.1]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id 0F1FA19D945; Fri, 19 Dec 2008 15:27:49 +0100 (CET) Received: from ecfrec.frec.bull.fr ([127.0.0.1]) by localhost (ecfrec.frec.bull.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06044-08; Fri, 19 Dec 2008 15:27:45 +0100 (CET) Received: from cyclope.frec.bull.fr (cyclope.frec.bull.fr [129.183.4.9]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id B2F4F19D936; Fri, 19 Dec 2008 15:27:45 +0100 (CET) Received: from localhost.localdomain (frecb000701.frec.bull.fr [129.183.101.72]) by cyclope.frec.bull.fr (Postfix) with ESMTP id 0644D27289; Fri, 19 Dec 2008 15:27:42 +0100 (CET) Message-Id: <20081219142508.351224256@theryb.frec.bull.fr> User-Agent: quilt/0.47-1 Date: Fri, 19 Dec 2008 15:25:06 +0100 From: Benjamin Thery To: Dave Miller Cc: netdev , Alexey Dobriyan , Daniel Lezcano , Benjamin Thery Subject: [PATCH 1/2] netns: igmp: allow IPPROTO_IGMP sockets in netns References: <20081219142505.469589973@theryb.frec.bull.fr> X-Virus-Scanned: by amavisd-new at frec.bull.fr Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Looks like everything is already ready. Required for ebtables(8) for one thing. Also, required for ipmr per-netns (coming soon). (Benjamin) Signed-off-by: Alexey Dobriyan Acked-by: Benjamin Thery --- net/ipv4/af_inet.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 664ff0e..743f554 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c @@ -1402,6 +1402,7 @@ EXPORT_SYMBOL_GPL(snmp_mib_free); #ifdef CONFIG_IP_MULTICAST static struct net_protocol igmp_protocol = { .handler = igmp_rcv, + .netns_ok = 1, }; #endif