From: Eugene Crosser <crosser@average.org>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Re: Reproducible kernel oops on PPP session start
Date: Mon, 12 Jan 2004 17:52:58 +0300 [thread overview]
Message-ID: <1073919178.7667.41.camel@ariel.sovam.com> (raw)
In-Reply-To: <1073913755.3126.48.camel@pegasus>
On Mon, 2004-01-12 at 16:22, Marcel Holtmann wrote:
> > Interesting that running "rfcomm bind" or "rfcomm listen" does not
> > increase l2cap's refcount. It gets increased at the moment when
> > incoming connection actually takes place. And is decreased (by 2) when
> > it terminates.
[...]
> Let us summarize this problem a little bit. We know that this is
> refcount bug and it happens in __module_get(). It also seems that we
> only get hit by this bug if we got in incoming connection. Is this
> right? Do the refcounting work correct on outgoing? My question is if
> this is a L2CAP only problem or if it only happens in conjunction with
> RFCOMM? Can you reproduce it with the l2test program only? Don't load
> the rfcomm.ko module and don't start the sdpd, so you have a better
> starting refcount.
I don't think that I have a device capable of anything but rfcomm... I
have a cellphone (can use obex that works over rfcomm) and a palm (ppp
or hotsync over rfcomm).
I'll check outgoing connections to the cellphone (obex push) and report.
I can try to get a second usb dongle and connect from another linux
machine, but that will take time to arrange.
OTOH I could throw a few printk()s into the kernel but I don't know
where to put them. The only place in l2cap.c that looks relevant to
refcount management that I can see is at line 353 -
"sk_set_owner(sk, THIS_MODULE);", but there must be other places too...
Eugene
next prev parent reply other threads:[~2004-01-12 14:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-07 11:42 Reproducible kernel oops on PPP session start Eugene Crosser
2004-01-07 12:15 ` [Bluez-devel] " Marcel Holtmann
2004-01-07 13:57 ` Eugene Crosser
2004-01-10 12:00 ` Eugene Crosser
2004-01-10 12:11 ` Eugene Crosser
2004-01-11 14:59 ` Marcel Holtmann
2004-01-12 6:33 ` Eugene Crosser
2004-01-12 13:22 ` Marcel Holtmann
2004-01-12 14:52 ` Eugene Crosser [this message]
2004-01-12 15:15 ` Marcel Holtmann
2004-01-12 21:22 ` Eugene Crosser
2004-01-12 21:35 ` Marcel Holtmann
2004-01-12 22:02 ` Eugene Crosser
2004-01-13 17:32 ` Marcel Holtmann
2004-01-13 19:33 ` Marcel Holtmann
2004-01-13 21:32 ` Eugene Crosser
2004-01-13 23:14 ` Marcel Holtmann
2004-01-07 14:05 ` Edd Dumbill
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=1073919178.7667.41.camel@ariel.sovam.com \
--to=crosser@average.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=marcel@holtmann.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.