Page MenuHomeFreeBSD

Use counter(9) for PLPMTUD counters
ClosedPublic

Authored by kbowling on Aug 12 2017, 5:32 AM.
Referenced Files
Unknown Object (File)
Sun, Apr 20, 2:26 PM
Unknown Object (File)
Sun, Apr 20, 2:19 PM
Unknown Object (File)
Sun, Apr 20, 1:51 PM
Unknown Object (File)
Sun, Apr 20, 1:46 PM
Unknown Object (File)
Sun, Apr 20, 1:32 PM
Unknown Object (File)
Sun, Apr 20, 1:27 PM
Unknown Object (File)
Sun, Apr 20, 1:16 PM
Unknown Object (File)
Sun, Apr 20, 1:11 PM
Subscribers

Details

Summary

The int increments are not consistent between loads/stores with multiple threads and may lose events during concurrent updates. tcpstats solves that problem with no real downsides.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kbowling edited the summary of this revision. (Show Details)
jtl added a subscriber: jtl.

Looks good (with one minor nit inline).

usr.bin/netstat/inet.c
760 ↗(On Diff #32032)

Minor (yes, very minor) nit: On these three lines, the plural should probably be conditioned on the number. %s does this for you automatically.

So, for example "...detection activation%s}\n".

This revision is now accepted and ready to land.Aug 14 2017, 1:08 PM
kbowling edited edge metadata.

Use the libxo plurals and fix the pmtud-failed label

This revision now requires review to proceed.Aug 14 2017, 6:54 PM

Noob question, should freebsdversion bump since this alters the ABI?

This revision was automatically updated to reflect the committed changes.