RE: [Bluez-devel] Rfcomm Use Count

Daryl Van Vorst
2004-09-21T20:14:43Z

Hi Marcel,

> for the L2CAP part the attached patch may fixes the problem
> and let the
> module reference count decrease after the disconnect. The
> patch is only
> compile tested. May you wanna give it a chance and run your
> L2CAP tests
> again.

I gave it a try and it works fine as far as I can tell. I had to apply the
patch manually though (I'm assuming this is because you're working with a
2.6 kernel and I'm not).

I don't see the use count incrementing badly any more, and the listening
socket will continue to accept connections after the number of
connects/disconnects have exceeded the the accept queue.

Does this give you any ideas for rfcomm?

-Daryl.