HomeFreeBSD

kern/subr_pctrie: Fix mismatched signedness in assertion comparison

Description

kern/subr_pctrie: Fix mismatched signedness in assertion comparison

'tos' is an index into an array and never holds a negative value. Correct
its signedness to match PCTRIE_LIMIT, which it is compared to in assertions.

No functional change (kills a warning).

Details

Provenance
cemAuthored on
Parents
rS345992: Add INET6 support for the upcalls to the nfsuserd daemon.
Branches
Unknown
Tags
Unknown