[OpenSIPS-Devel] [OpenSIPS/opensips] 32ec7a: fraud_detection: Fix hash-level locking issues
Liviu Chircu
liviu at opensips.org
Wed Jan 23 01:43:23 EST 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 32ec7a291db3a9ac8865a439b04874a9e1798e8e
https://github.com/OpenSIPS/opensips/commit/32ec7a291db3a9ac8865a439b04874a9e1798e8e
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-01-23 (Wed, 23 Jan 2019)
Changed paths:
M modules/fraud_detection/frd_hashmap.c
M modules/fraud_detection/frd_hashmap.h
M modules/fraud_detection/frd_stats.c
Log Message:
-----------
fraud_detection: Fix hash-level locking issues
This patch prevent some rare occassions when, due to too-loose locking,
fraud_detection could run into either:
* SHM memory leaks
* incorrectly processed counters (corrupt stats)
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Devel
mailing list