Re: Kernel panic in rfcomm_run - unbalanced refcount on rfcomm_session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tervo Ville (Nokia-D/Helsinki) wrote:

l2cap socket status might change while rfcomm is processing frames. And that makes rfcomm_process_rx to do double rfcomm_session_put() for incoming session reference. We cannot use sk_state.

Could you try with this patch if it helps to your problems also? My OPP problems went away with this patch.

I moved rfcomm_session_put() for incoming session to rfcomm_session_close in order to get more clear _hold()/_put() pairs.



Any comments about the patch in previous mail?

--
Ville
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux