Don't reset `idle_time' timeout on closed pipex(4) sessions in packet
authormvs <mvs@openbsd.org>
Sun, 26 Jun 2022 21:29:34 +0000 (21:29 +0000)
committermvs <mvs@openbsd.org>
Sun, 26 Jun 2022 21:29:34 +0000 (21:29 +0000)
commita5953208fc7d09007e9ddf6ca170f0ac413a0b8f
tree7571be5853c3619938ed08aaa1bd2dc233ac205b
parent42ba46e65c5ace09d51f293a76991f3ff9c48cf6
Don't reset `idle_time' timeout on closed pipex(4) sessions in packet
processing path. Such sessions already reached time to live timeout, and
the garbage collector waits a little to before kill them. Otherwise we
could make session's life time more then PIPEX_CLOSE_TIMEOUT.

ok bluhm@
sys/net/pipex.c