HomeFreeBSD

Avoid division in round_up.

Description

Avoid division in round_up.

Division may require a function call, leading to
dynamic function lookup, leading to deadlock in rtld.

Pull Request: https://github.com/freebsd/freebsd-src/pull/1343

Details

Provenance
John F. Carr <jfc@mit.edu>Authored on Jul 25 2024, 11:00 PM
brooksCommitted on Jul 25 2024, 11:00 PM
Parents
rGfeda329622bc: netinet6 tests: Add a regression test for default router handling
Branches
Unknown
Tags
Unknown
Reverted By
rGf5c894479e59: Revert "Avoid division in round_up."