Page MenuHomeFreeBSD

icmp: do not store per-VNET identical array of strings
ClosedPublic

Authored by glebius on Mar 22 2024, 9:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 22, 9:03 AM
Unknown Object (File)
Sat, Aug 22, 9:02 AM
Unknown Object (File)
Sat, Aug 22, 8:55 AM
Unknown Object (File)
Thu, Aug 13, 12:58 AM
Unknown Object (File)
Wed, Aug 12, 3:34 PM
Unknown Object (File)
Mon, Aug 10, 11:21 AM
Unknown Object (File)
Mon, Aug 10, 4:53 AM
Unknown Object (File)
Sat, Aug 8, 5:49 AM
Subscribers

Details

Summary

We need per-VNET struct counter_rate, but we don't need per-VNET set of
const char *. Also, identical word "response" can go into the format
string instead of being stored 7 times.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 23 2024, 1:19 AM
zlei added a subscriber: zlei.

Looks good to me.