* [PATCH] fix module netproto alias for bluetooth
@ 2003-12-10 23:58 Stephen Hemminger
2003-12-10 23:59 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2003-12-10 23:58 UTC (permalink / raw)
To: Maxim Krasnyansky, Rusty Russell, David S. Miller; +Cc: netdev
In 2.6.0-test11 the net-pf-31 alias gets associated with the bnep module
rather than the bluetooth module that actually handles the protocol.
It is mostly works because bnep depends on bluetooth so it gets loaded.
diff -Nru a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c
--- a/net/bluetooth/af_bluetooth.c Wed Dec 10 15:55:50 2003
+++ b/net/bluetooth/af_bluetooth.c Wed Dec 10 15:55:50 2003
@@ -361,3 +361,4 @@
MODULE_AUTHOR("Maxim Krasnyansky <maxk@qualcomm.com>");
MODULE_DESCRIPTION("Bluetooth Core ver " VERSION);
MODULE_LICENSE("GPL");
+MODULE_ALIAS_NETPROTO(PF_BLUETOOTH);
diff -Nru a/net/bluetooth/bnep/core.c b/net/bluetooth/bnep/core.c
--- a/net/bluetooth/bnep/core.c Wed Dec 10 15:55:50 2003
+++ b/net/bluetooth/bnep/core.c Wed Dec 10 15:55:50 2003
@@ -707,4 +707,3 @@
MODULE_DESCRIPTION("Bluetooth BNEP ver " VERSION);
MODULE_AUTHOR("David Libault <david.libault@inventel.fr>, Maxim Krasnyanskiy <maxk@qualcomm.com>");
MODULE_LICENSE("GPL");
-MODULE_ALIAS_NETPROTO(PF_BLUETOOTH);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix module netproto alias for bluetooth
2003-12-10 23:58 [PATCH] fix module netproto alias for bluetooth Stephen Hemminger
@ 2003-12-10 23:59 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-12-10 23:59 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: maxk, rusty, netdev
On Wed, 10 Dec 2003 15:58:36 -0800
Stephen Hemminger <shemminger@osdl.org> wrote:
> In 2.6.0-test11 the net-pf-31 alias gets associated with the bnep module
> rather than the bluetooth module that actually handles the protocol.
> It is mostly works because bnep depends on bluetooth so it gets loaded.
Good catch, patch applied.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-10 23:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-10 23:58 [PATCH] fix module netproto alias for bluetooth Stephen Hemminger
2003-12-10 23:59 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).