[OpenSIPS-Devel] [OpenSIPS/opensips] b9e5c3: SIP PN: Prevent overlapping modifications of pn_eb...

Liviu Chircu noreply at github.com
Wed Aug 28 08:25:25 UTC 2024


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b9e5c392245ec9163089a039e65e8444abe063cf
      https://github.com/OpenSIPS/opensips/commit/b9e5c392245ec9163089a039e65e8444abe063cf
  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