Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759679AbZCMWM2 (ORCPT ); Fri, 13 Mar 2009 18:12:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755613AbZCMWMQ (ORCPT ); Fri, 13 Mar 2009 18:12:16 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:44336 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757972AbZCMWMO (ORCPT ); Fri, 13 Mar 2009 18:12:14 -0400 Date: Fri, 13 Mar 2009 15:12:00 -0700 From: Stephen Hemminger To: David Miller Cc: scott@canonical.com, linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org Subject: Re: [PATCH 01/31] bridge: Auto-load bridge module when socket opened. Message-ID: <20090313151200.1cc16255@nehalam> In-Reply-To: <20090313.142718.21189207.davem@davemloft.net> References: <74b87ec3359e6e65d59cd6fb62a83fb469e6c8ae.1236702228.git.scott@canonical.com> <20090313.142718.21189207.davem@davemloft.net> Organization: Linux Foundation X-Mailer: Claws Mail 3.6.1 (GTK+ 2.15.5; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1764 Lines: 38 On Fri, 13 Mar 2009 14:27:18 -0700 (PDT) David Miller wrote: > From: Scott James Remnant > Date: Mon, 2 Mar 2009 16:40:10 +0000 > > > The bridge module is missing the net-pf-7 alias that would cause it to > > be auto-loaded when a socket of that type is opened. This patch adds > > the alias. > > > > Signed-off-by: Scott James Remnant > > Signed-off-by: Tim Gardner > > Bridging has no sockets, so this patch won't do anything. > > Did you verify that these changes actually do something? > Or did you blindly run around peppering source files with > these annotations? I think this all started when I was debugging a problem where LLC was not getting autoloaded properly. It turned out that distro's like Debian (and therefore Ubuntu) had incorrect modprobe.d/alias file entries. I raised the bug that, "hey you have wrong data and you really don't need these alias entries at all anymore". There was some comparison of what was being shipped versus what was in the kernel and the Debian/Ubuntu guys stepped in to try and unify this. Let's be supportive of Ubuntu maintainers actually working on upstream resolution for a change. The normal distro maintainer is "patch and ignore". In this case, many of these are correct, but several of them are cases where there is no point in having a module alias because there is no functiona user visible API. You can try and open a PF_BRIDGE socket, there just is no point. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/