Module: kamailio
Branch: master
Commit: 48eb3cd5d3a0ff0b8b3125d3be3b7ff60d664435
URL:
https://github.com/kamailio/kamailio/commit/48eb3cd5d3a0ff0b8b3125d3be3b7ff…
Author: Aleksandar Yosifov <alexyosifov(a)gmail.com>
Committer: Aleksandar Yosifov <alexyosifov(a)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/48eb3cd5d3a0ff0b8b3125d3be3b7ff…
Patch:
https://github.com/kamailio/kamailio/commit/48eb3cd5d3a0ff0b8b3125d3be3b7ff…