summaryrefslogtreecommitdiff
path: root/accel-pppd/lua/lua_bit.c
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-02-28 08:25:59 +0200
committerDenys Fedoryshchenko <denys.f@collabora.com>2026-03-23 00:04:49 +0200
commit358abf747194748139ddadfddbfed95ef2039278 (patch)
treef601aa02fe81d520f84c051e899ec11fe86e433c /accel-pppd/lua/lua_bit.c
parentdea40b0d4f8ed3da936a4dc1d3afb8c3ce898e22 (diff)
downloadaccel-ppp-358abf747194748139ddadfddbfed95ef2039278.tar.gz
accel-ppp-358abf747194748139ddadfddbfed95ef2039278.zip
radius: fix stop accounting timeout flow and request cleanup
When sending accounting STOP requests, the timer callback was incorrectly set to the START timeout handler. This caused stop retries to follow the wrong termination path. Also clear rpd->acct_req before freeing on stop timeout/shutdown failures to avoid leaving a stale pointer. This bug is very nasty, revealed during stress tests, leading to memory corruption and other bad stuff when there is noticeable loss of radius "Stop" packets. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'accel-pppd/lua/lua_bit.c')
0 files changed, 0 insertions, 0 deletions