From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756781Ab2APU3a (ORCPT ); Mon, 16 Jan 2012 15:29:30 -0500 Received: from spaceboyz.net ([87.106.131.203]:35963 "EHLO spaceboyz.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755684Ab2APU31 (ORCPT ); Mon, 16 Jan 2012 15:29:27 -0500 Date: Mon, 16 Jan 2012 21:29:07 +0100 From: David Lamparter To: =?utf-8?Q?=C5=A0tefan?= Gula Cc: Alexey Kuznetsov , "David S. Miller" , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [patch v2, kernel version 3.2.1] net/ipv4/ip_gre: Ethernet multipoint GRE over IP Message-ID: <20120116202907.GF1077372@jupiter.n2.diac24.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At the risk of repeating myself, Linux GRE support already has provisions for multipoint tunnels. And unlike your code, those reuse the existing neighbor table infrastructure, including all of its user interface and introspection capabilities. It's actually slightly visible in your patch: On Mon, Jan 16, 2012 at 08:45:14PM +0100, Štefan Gula wrote: > +++ linux-3.2.1-my/net/ipv4/ip_gre.c 2012-01-16 20:42:03.000000000 +0100 > @@ -716,7 +942,19 @@ static netdev_tx_t ipgre_tunnel_xmit(str [...] > /* NBMA tunnel */ > > if (skb_dst(skb) == NULL) { -David