From: Stephen Hemminger <shemminger@osdl.org>
To: Maxim Krasnyansky <maxk@qualcomm.com>,
Rusty Russell <rusty@rustcorp.com.au>,
"David S. Miller" <davem@redhat.com>
Cc: netdev@oss.sgi.com
Subject: [PATCH] fix module netproto alias for bluetooth
Date: Wed, 10 Dec 2003 15:58:36 -0800 [thread overview]
Message-ID: <20031210155836.1c12d56a.shemminger@osdl.org> (raw)
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);
next reply other threads:[~2003-12-10 23:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-10 23:58 Stephen Hemminger [this message]
2003-12-10 23:59 ` [PATCH] fix module netproto alias for bluetooth David S. Miller
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=20031210155836.1c12d56a.shemminger@osdl.org \
--to=shemminger@osdl.org \
--cc=davem@redhat.com \
--cc=maxk@qualcomm.com \
--cc=netdev@oss.sgi.com \
--cc=rusty@rustcorp.com.au \
/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;
as well as URLs for NNTP newsgroup(s).