HomeFreeBSD

Fix two latent bugs in hpts. One where a static is put on

Description

Fix two latent bugs in hpts. One where a static is put on
a local variable, the other an initialization bug where
we should be setting tv.tv_sec to 0.

PR: 275482
(cherry picked from commit 6a79e48076bcce3e902323e62689eacb98faa180)

Details

Provenance
rrsAuthored on Nov 27 2023, 7:38 PM
glebiusCommitted on Jan 16 2024, 6:47 PM
Parents
rGc0303fa84eed: tcp_hpts: let tcp_hpts_init() set a random CPU only once
Branches
Unknown
Tags
Unknown