From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Scott James Remnant <scott@canonical.com>
Cc: linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org
Subject: Re: [PATCH 01/31] bridge: Auto-load bridge module when socket opened.
Date: Tue, 10 Mar 2009 10:26:48 -0700 [thread overview]
Message-ID: <20090310102648.125aa7e5@nehalam> (raw)
In-Reply-To: <74b87ec3359e6e65d59cd6fb62a83fb469e6c8ae.1236702228.git.scott@canonical.com>
On Mon, 2 Mar 2009 16:40:10 +0000
Scott James Remnant <scott@canonical.com> wrote:
> 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 <scott@canonical.com>
> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
> ---
> net/bridge/br.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/net/bridge/br.c b/net/bridge/br.c
> index 4d2c1f1..229daee 100644
> --- a/net/bridge/br.c
> +++ b/net/bridge/br.c
> @@ -16,6 +16,7 @@
> #include <linux/netdevice.h>
> #include <linux/etherdevice.h>
> #include <linux/init.h>
> +#include <linux/net.h>
> #include <linux/llc.h>
> #include <net/llc.h>
> #include <net/stp.h>
> @@ -108,3 +109,4 @@ module_init(br_init)
> module_exit(br_deinit)
> MODULE_LICENSE("GPL");
> MODULE_VERSION(BR_VERSION);
> +MODULE_ALIAS_NETPROTO(PF_BRIDGE);
Hmm. It looks okay, but there is not real direct socket interface
for PF_BRIDGE/AF_BRIDGE.
next prev parent reply other threads:[~2009-03-10 17:27 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 16:23 [PATCH 00/31] *** SUBJECT HERE *** Scott James Remnant
2009-03-02 16:40 ` [PATCH 01/31] bridge: Auto-load bridge module when socket opened Scott James Remnant
2009-03-10 17:26 ` Stephen Hemminger [this message]
2009-03-13 21:27 ` David Miller
2009-03-13 22:12 ` Stephen Hemminger
2009-03-13 22:28 ` David Miller
2009-03-14 10:36 ` Scott James Remnant
2009-03-02 16:44 ` [PATCH 02/31] netlink: Auto-load af_netlink " Scott James Remnant
2009-03-13 21:26 ` David Miller
2009-03-02 16:47 ` [PATCH 03/31] wanrouter: Auto-load wanrouter " Scott James Remnant
2009-03-13 21:28 ` David Miller
2009-03-02 17:03 ` [PATCH 04/31] netfilter: Auto-load ip_queue " Scott James Remnant
2009-03-16 14:31 ` Patrick McHardy
2009-03-02 17:05 ` [PATCH 05/31] netfilter: Auto-load ip6_queue " Scott James Remnant
2009-03-16 14:30 ` Patrick McHardy
2009-03-02 17:06 ` [PATCH 06/31] connector: Auto-load cn " Scott James Remnant
2009-03-02 17:09 ` [PATCH 07/31] scsi: Auto-load scsi_transport_iscsi " Scott James Remnant
2009-03-02 17:38 ` [PATCH 08/31] mtd: Auto-load ftl module when device opened Scott James Remnant
2009-03-02 17:40 ` [PATCH 09/31] paride: Auto-load pcd " Scott James Remnant
2009-03-02 17:40 ` [PATCH 10/31] paride: Auto-load pf " Scott James Remnant
2009-03-02 17:43 ` [PATCH 11/31] mtd: Auto-load nftl " Scott James Remnant
2009-03-02 18:16 ` [PATCH 13/31] input: Auto-load mousedev module when /dev/input/mice opened Scott James Remnant
2009-03-02 18:20 ` [PATCH 14/31] hw_random: Auto-load rng-core module when device opened Scott James Remnant
2009-03-02 18:23 ` [PATCH 15/31] sbus: Auto-load openprom " Scott James Remnant
2009-03-13 21:30 ` David Miller
2009-03-02 18:24 ` [PATCH 16/31] applicom: Auto-load applicom " Scott James Remnant
2009-03-02 18:25 ` [PATCH 17/31] toshiba: Auto-load toshiba " Scott James Remnant
2009-03-02 18:32 ` [PATCH 18/31] cyclades: Auto-load cyclades " Scott James Remnant
2009-03-02 18:39 ` [PATCH 20/31] specialix: Auto-load specialix " Scott James Remnant
2009-03-10 16:58 ` Rogier Wolff
2009-03-02 18:40 ` [PATCH 21/31] video: Auto-load videodev " Scott James Remnant
2009-03-10 17:03 ` Matthias Schwarzott
2009-03-02 18:41 ` [PATCH 22/31] i2c: Auto-load i2c_dev " Scott James Remnant
2009-03-10 16:56 ` Jean Delvare
2009-03-10 17:00 ` Scott James Remnant
2009-03-02 18:42 ` [PATCH 23/31] mtd: Auto-load mtdchar " Scott James Remnant
2009-03-02 18:43 ` [PATCH 24/31] paride: Auto-load pt " Scott James Remnant
2009-03-02 18:45 ` [PATCH 25/31] paride: Auto-load pg " Scott James Remnant
2009-03-02 18:46 ` [PATCH 26/31] usb: Auto-load cdc_acm " Scott James Remnant
2009-03-10 17:08 ` Greg KH
2009-03-10 17:18 ` Scott James Remnant
2009-03-10 18:34 ` Kay Sievers
2009-03-02 18:48 ` [PATCH 27/31] x86: Auto-load msr " Scott James Remnant
2009-03-02 18:49 ` [PATCH 28/31] x86: Auto-load cpuid " Scott James Remnant
2009-03-03 15:32 ` [PATCH 12/31] input: Auto-load mousedev module when psaux " Scott James Remnant
2009-03-21 5:46 ` Dmitry Torokhov
2009-03-03 15:37 ` [PATCH 19/31] riscom8: Auto-load riscom8 module when " Scott James Remnant
2009-03-05 3:55 ` [PATCH 29/31] esp: Auto-load esp " Tim Gardner
2009-03-11 13:46 ` Alan Cox
2009-03-11 17:01 ` Tim Gardner
2009-03-05 15:31 ` [PATCH 30/31] mwave: Auto-load mwave " Scott James Remnant
2009-03-11 13:50 ` Alan Cox
2009-03-10 16:19 ` [PATCH 31/31] scsi: Add scsi type modalias to ch Scott James Remnant
2009-03-10 17:46 ` [PATCH 00/31] *** SUBJECT HERE *** Jean Delvare
2009-03-10 17:49 ` Scott James Remnant
2009-03-10 17:55 ` [PATCH 00/31] Add a lot of module alias statements Jean Delvare
2009-03-10 18:13 ` Scott James Remnant
2009-03-10 18:22 ` Kay Sievers
2009-03-10 20:38 ` Jean Delvare
2009-03-10 20:53 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090310102648.125aa7e5@nehalam \
--to=shemminger@linux-foundation.org \
--cc=bridge@lists.linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=scott@canonical.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox