double locking issue on the session
Submitted by Fabrice Bellet
Assigned to Olivier Crête
Created attachment 131487 rtp: fix a double locking issue on the session
Another rare situation: fs_rtp_stream_add_substream_unlock() may be unable to unlock the session, previously locked by the parent function fs_rtp_session_new_recv_pad(), if stream->priv->session becomes null in the meanwhile.
The workaround for this, and it's again not very elegant, is to pass directly the session pointer to the function having to unlock it.
I don't have any gdb trace for this case.
Patch 131487, "rtp: fix a double locking issue on the session":