[sr-dev] git:master:48eb3cd5: ims_ipsec_pcscf: Bug fixes and memory improvements

Aleksandar Yosifov alexyosifov at gmail.com
Sat Aug 10 22:05:20 CEST 2019

Module: kamailio
Branch: master
Commit: 48eb3cd5d3a0ff0b8b3125d3be3b7ff60d664435
URL: https://github.com/kamailio/kamailio/commit/48eb3cd5d3a0ff0b8b3125d3be3b7ff60d664435

Author: Aleksandar Yosifov <alexyosifov at gmail.com>
Committer: Aleksandar Yosifov <alexyosifov at gmail.com>
Date: 2019-08-02T15:13:20+03:00

ims_ipsec_pcscf: Bug fixes and memory improvements

- Fix a problem with spi_list, spi_gen and port_gen.
  Now the global data structs for SPIs and IPSec ports
  lists are placed into shared memory to be accessible
  from different processes. SPIs and IPSec ports for expired
  contacts are released properly. That process is
  performed in timer's threads and for that reason the
  global structs are placed into the shared memory.
- Add api for ipsec reconfig tunnels. Used in  registrar
  module. Improve update_contact_ipsec_params() to avoid
  memory leak if the method fails.


Modified: src/modules/ims_ipsec_pcscf/cmd.c
Modified: src/modules/ims_ipsec_pcscf/cmd.h
Modified: src/modules/ims_ipsec_pcscf/port_gen.c
Modified: src/modules/ims_ipsec_pcscf/port_gen.h
Modified: src/modules/ims_ipsec_pcscf/spi_gen.c
Modified: src/modules/ims_ipsec_pcscf/spi_gen.h
Modified: src/modules/ims_ipsec_pcscf/spi_list.c
Modified: src/modules/ims_ipsec_pcscf/spi_list.h


Diff:  https://github.com/kamailio/kamailio/commit/48eb3cd5d3a0ff0b8b3125d3be3b7ff60d664435.diff
Patch: https://github.com/kamailio/kamailio/commit/48eb3cd5d3a0ff0b8b3125d3be3b7ff60d664435.patch

More information about the sr-dev mailing list