| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Bluetooth BUG() in set_sk_owner(). |
| From: | David Woodhouse <dwmw2@xxxxxxxxxxxxx> |
| Date: | Mon, 15 Sep 2003 09:54:10 +0100 |
| Cc: | netdev@xxxxxxxxxxx, shemminger@xxxxxxxx, maxk@xxxxxxxxxxxx, marcel@xxxxxxxxxxxx |
| In-reply-to: | <20030911182223.2e9b7118.davem@xxxxxxxxxx> |
| References: | <1063184337.32473.529.camel@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20030911182223.2e9b7118.davem@xxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 2003-09-11 at 18:22 -0700, David S. Miller wrote:
> On Wed, 10 Sep 2003 09:58:57 +0100
> David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
>
> > It loks like the recent addition of sk_set_owner() to
> > bt_sock_alloc() was bogus... some of the callers of bt_sock_alloc()
> > already do that for This patch reverts it, and makes the remaining
> > callers also set the owner for themselves...
>
> Applied, thanks David.
Needs this too...
===== net/bluetooth/bnep/sock.c 1.11 vs edited =====
--- 1.11/net/bluetooth/bnep/sock.c Thu Jun 5 01:57:08 2003
+++ edited/net/bluetooth/bnep/sock.c Fri Sep 12 09:16:17 2003
@@ -186,7 +189,8 @@
static struct net_proto_family bnep_sock_family_ops = {
.family = PF_BLUETOOTH,
- .create = bnep_sock_create
+ .create = bnep_sock_create,
+ .owner = THIS_MODULE
};
int __init bnep_sock_init(void)
--
dwmw2
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [e1000 2.6 10/11] TxDescriptors -> 1024 default, David S. Miller |
|---|---|
| Next by Date: | [PATCH 0/3] [bonding 2.4] final sync 2.4 <-> 2.6, Amir Noam |
| Previous by Thread: | Re: Bluetooth BUG() in set_sk_owner()., David S. Miller |
| Next by Thread: | Re: Bluetooth BUG() in set_sk_owner()., Marcel Holtmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |