[OpenSIPS-Devel] [OpenSIPS/opensips] 96cf16: SIP PN: Prevent overlapping modifications of pn_eb...
Liviu Chircu
noreply at github.com
Wed Aug 28 08:25:28 UTC 2024
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 96cf16819e6ca34a22780dd3082c214113bebc0a
https://github.com/OpenSIPS/opensips/commit/96cf16819e6ca34a22780dd3082c214113bebc0a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2024-08-28 (Wed, 28 Aug 2024)
Changed paths:
M lib/reg/pn.c
Log Message:
-----------
SIP PN: Prevent overlapping modifications of pn_ebr_filters template
The @pn_ebr_filters templates are actually allocated in shared memory and
can be modified by multiple SIP workers concurrently, leading to
occasional strange routing of INVITEs. The fix is to simply allocate
the objects in private memory instead.
Credits to Ondrej Jirman <megi at xff.cz> for documenting, troubleshooting
and providing an initial fix!
Related to #3394
(cherry picked from commit 078e65b98909f477c819b57e79de0b8e18dccdb4)
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list