unix socket handling: fix select timeouts in multilink context
The select must be always called with the least required timeout.
This patch fixes a bug which caused an undesired delay when a state
machine, after receiving a packet, needed to be called soon (e.g.
when it has just changed its status: its desired delay is 0).
Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>
Showing
Please
register
or
sign in
to comment