RE: [Bluez-devel] Rfcomm Use Count

Daryl Van Vorst
2004-09-22T19:52:26Z

Hi Marcel,

> I understand what you mean and it should be impossible to
> have an socket
> on the accept_q with state BT_CLOSED. May you wanna remove the extra
> code in ...accept_dequeue() and only leave a warning message
> there when
> you do your tests. However this extra code should not harm and I don't
> see an easy solution for getting the module reference
> decrementing right
> when we have to do it in ...accept_dequeue() for all socket types.

I think I'll leave the code as is, unless you're considering removing the
code in accept_dequeue(). If there's a problem, we'll see the use count go
up.

Thanks for working on this... Looks like you spent some late nights on it.

-Daryl.