MT#55283 unconditionally clear no-support flag

A stream that needs to be unkernelized that wasn't actually kernelized
due to lack of support or information still needs to have the flag reset
so that it can retried.

Change-Id: I7de17236d382d4f4dbfc3225c37688769cc9c8ad
(cherry picked from commit ab8b7fb228)
mr26.1
Richard Fuchs 3 weeks ago
parent c3be942281
commit 2a9524c5f2

@ -2084,12 +2084,14 @@ struct ssrc_entry_call *__hunt_ssrc_ctx(uint32_t ssrc, struct ssrc_entry_call *l
void __unkernelize(struct packet_stream *p, const char *reason) {
stream_fd *sfd = p->selected_sfd;
bool no_supp = PS_CLEAR(p, NO_KERNEL_SUPPORT);
if (!sfd)
return;
if (!sfd->kernelized)
return;
if (kernel.is_open && !PS_ISSET(p, NO_KERNEL_SUPPORT)) {
if (kernel.is_open && !no_supp) {
ilog(LOG_INFO, "Removing media stream from kernel: local %s (%s)",
endpoint_print_buf(&sfd->socket.local),
reason);
@ -2100,7 +2102,6 @@ void __unkernelize(struct packet_stream *p, const char *reason) {
}
sfd->kernelized = false;
PS_CLEAR(p, NO_KERNEL_SUPPORT);
}

Loading…
Cancel
Save