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

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


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



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list