Hi list,
while doing some stress load testing for the graceful restart via
SIGHUP, there was a segfault detected. We destroy the cfg_reloaded
structure on each signal processing iteration. Therefore we CAN NOT have
the grp pointer hosted in the SMSCConn struct. Otherwise we run into a
unreferenced pointer later when comparing the checksums.
The checksums of the config groups have been moved now from the CfgGroup
struct to the SMSCConn struct itself. A function
cfg_get_group_checksum(CfgGroup *) can calculate it.
Please find the new patch at URL:
http://www.kannel.org/~tolj/patchsets/graceful/gateway-graceful-restart.v2.diff
Stipe
--
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------