bnep and refcnt
Hi,
after browsing the Linux 2.6 code there is a remark in net/core/dev.c that state what the problem with the following message that I get is
unregister_netdevice: waiting for bnep0 to become free. Usage count = 6
The comment with the function in dev.c states that this error is caused by buggy protocols that should unregister after receiving notification that the devices they are using has been unregistered. They should call unregister_netdev which decreases the refcnt.
Can anybody help me tracking down this problem I have with explaning which protocols could be using bnep0 ?
W
Marcel Holtmann
maintainerHi Wim,
Quoted 9 lines
after browsing the Linux 2.6 code there is a remark in
net/core/dev.cthat state what the problem with the following message that I get is
unregister_netdevice: waiting for bnep0 to become free. Usage count = 6The comment with the function in
dev.cstates that this error is caused by buggy protocols that should unregister after receiving notification that the devices they are using has been unregistered. They should callunregister_netdevwhich decreases the refcnt.
looks like we need a more detailed audit for the BNEP module and some of the 2.6 changes in the network device layer.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 7 lines · Marcel Holtmann
Hi Wim,
Quoted 5 lines
after browsing the Linux 2.6 code there is a remark in
net/core/dev.cthat state what the problem with the following message that I get is
unregister_netdevice: waiting for bnep0 to become free. Usage count = 6
Quoted 7 lines
Quoted 4 lines
The comment with the function in
dev.cstates that this error is caused by buggy protocols that should unregister after receiving notification that the devices they are using has been unregistered. They should callunregister_netdevwhich decreases the refcnt.looks like we need a more detailed audit for the BNEP module and some of the 2.6 changes in the network device layer.
I tried that but did not find anything usefull.
I noticed (after GREP) that the BNEP module does not have a notify function (does it need one ?).
Hence I think we need to look for those systems (HCID?) that have a reference to the bnep module. Probably those do not unregister properly
How can I compile them in debug ?
Thanx
W
Quoted 4 lines
Regards
Marcel