diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-10-22 19:23:02 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-10-22 19:23:02 +0400 |
commit | c73bda7c792a850dc24dc22cf6065eaaad717b69 (patch) | |
tree | 760a5bde1d244bd5291e37fca4b7995baecf886d /accel-pppd/radius/acct.c | |
parent | a3f7e7d1e26bcf1ddb4d86d06f8a3a976374eade (diff) | |
download | accel-ppp-c73bda7c792a850dc24dc22cf6065eaaad717b69.tar.gz accel-ppp-c73bda7c792a850dc24dc22cf6065eaaad717b69.zip |
ppp: implemented delayed unit close via unit cache
Due to kernel slowly destroys interfaces closing unit file descriptor blocks working threads which causes overall stuck.
Thus (if unit-cache option is not zero) do not close unit file descriptor immediatly, but put it into unit cache.
Additional helper thread was introduced which closes descriptors from unit cache which overruns configured unit cache size.
Diffstat (limited to 'accel-pppd/radius/acct.c')
0 files changed, 0 insertions, 0 deletions