[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <74b87ec3359e6e65d59cd6fb62a83fb469e6c8ae.1236702228.git.scott@canonical.com>
Date: Mon, 2 Mar 2009 16:40:10 +0000
From: Scott James Remnant <scott@...onical.com>
To: linux-kernel@...r.kernel.org
Cc: shemminger@...ux-foundation.org, bridge@...ts.linux-foundation.org
Subject: [PATCH 01/31] bridge: Auto-load bridge module when socket opened.
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@...onical.com>
Signed-off-by: Tim Gardner <tim.gardner@...onical.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);
--
1.6.0.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists