All of lore.kernel.org
 help / color / mirror / Atom feed
* bnep module use count ...
@ 2004-03-07  2:34 wim delvaux
  2004-03-07  2:40 ` [Bluez-users] " Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: wim delvaux @ 2004-03-07  2:34 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

I have a theory about this module use count.

What is my setup.

When I insert the usb dongle, hci/sdp and pand --listen is started wating for 
a connection.

Then I activate the connection on my Ipaq and notice in syslog that the 
connection is request.

Pand will then create a bnep module in the kernel.  This will trigger a 
hotplug event causing ifup to be executed on bnep0.

So far so good.

Now I disconnect my Ipaq. (either by pand -k and kill or whatever).  
This event does not get detected by anybody.

The Ipaq when it comes back will request a new session and a new handle to 
bnep0 is created in the kernel (causing refcount to increase beyond the real 
use count).

Once this occurs the module is no longer unloadable and actually causes the 
system to hang when the usb dongle is removed !!!! A reboot is then 
needed ;-((((((

WHat you think of this scenario ?

W

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-07  3:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-07  2:34 bnep module use count wim delvaux
2004-03-07  2:40 ` [Bluez-users] " Marcel Holtmann
2004-03-07  3:00   ` wim delvaux
2004-03-07  3:03     ` [Bluez-users] " Marcel Holtmann

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.