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
F146899295: D44475.id.diff
Fri, Mar 6, 2:39 PM
Unknown Object (File)
Wed, Mar 4, 4:05 PM
Unknown Object (File)
Tue, Mar 3, 1:40 PM
Unknown Object (File)
Jan 31 2026, 12:24 PM
Unknown Object (File)
Jan 26 2026, 5:51 AM
Unknown Object (File)
Jan 25 2026, 11:04 AM
Unknown Object (File)
Dec 20 2025, 11:10 AM
Unknown Object (File)
Dec 11 2025, 9:31 PM
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.