Ok I'll do the pull request etc.
Please forgive my unfamiliarity with kamailio patch standards...am in process
of learning.
Below is from modules/ims_charging/ro_session_hash.h function, I've just
indicated patch changes as "+"
static inline void unlink_unsafe_ro_session(struct ro_session_entry
*ro_session_entry, struct ro_session *ro_session) {
+ if ((ro_session->next == 0x00) &&
+ (ro_session->prev == 0x00) &&
+ (ro_session != ro_session_entry->first) )
+ {
+ return;
+ }
if (ro_session->next)
ro_session->next->prev = ro_session->prev;
else
ro_session_entry->last = ro_session->prev;
if (ro_session->prev)
ro_session->prev->next = ro_session->next;
else
ro_session_entry->first = ro_session->next;
ro_session->next = ro_session->prev = 0;
counter_add(ims_charging_cnts_h.active_ro_sessions, -1);
return;
}
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1549#issuecomment-395427334
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev