diff options
author | plumbeo <plumbeo@users.noreply.github.com> | 2016-12-28 02:15:46 +0100 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-04 14:25:01 -0200 |
commit | 8ebf7ce7d988a989d040196769b0174278b0d031 (patch) | |
tree | 9649c74a14aeba15b841a7a037a8adc4ac731c91 /src/etc/inc/system.inc | |
parent | 2795722bda1ec743badeb536c524442175adb931 (diff) | |
download | pfsense-8ebf7ce7d988a989d040196769b0174278b0d031.zip pfsense-8ebf7ce7d988a989d040196769b0174278b0d031.tar.gz |
Captive portal: use locking to avoid race conditions between rc.prunecaptiveportal and captiveportal_disconnect_all()
Convert rc.prunecaptiveportal to lock()/unlock()/try_lock() and use the lock to ensure that there aren't race conditions between it and captiveportal_disconnect_all().
(cherry picked from commit d793617ee9b4c3f66575737df3e8f6cf04e7c782)
Diffstat (limited to 'src/etc/inc/system.inc')
0 files changed, 0 insertions, 0 deletions