HomeFreeBSD

frag6: add read-only sysctl for nfrags.

Description

frag6: add read-only sysctl for nfrags.

Add a read-only sysctl exporting the global number of fragments
(base system and all vnets). This is helpful to (a) know how many
fragments are currently being processed, (b) if there are possible
leaks, (c) if vnet teardown is not working correctly, and lastly
(d) it can be used as part of test-suits to ensure (a) to (c).

MFC after: 3 weeks
Sponsored by: Netflix

Details

Provenance
bzAuthored on
Parents
rS353791: tools/tools/locale: allow POSIX target to be built in parallel
Branches
Unknown
Tags
Unknown