Page MenuHomeFreeBSD

Add tests for checking RTF_HOST and RTAX_NETMASK inconsistency.
ClosedPublic

Authored by melifaro on Aug 21 2020, 10:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 14, 9:35 AM
Unknown Object (File)
Fri, Mar 13, 10:54 PM
Unknown Object (File)
Fri, Mar 13, 8:38 PM
Unknown Object (File)
Tue, Mar 10, 10:03 PM
Unknown Object (File)
Jan 23 2026, 11:26 AM
Unknown Object (File)
Dec 28 2025, 4:24 PM
Unknown Object (File)
Dec 27 2025, 6:30 AM
Unknown Object (File)
Dec 9 2025, 6:15 AM
Subscribers

Details

Summary

RTF_HOST indicates whether route is a host route (netmask is empty or /{32,128}).

Check that all if netmask is empty and host route is not specified, kernel returns an error.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33101
Build 30472: arc lint + arc unit

Event Timeline

melifaro added a reviewer: network.
This revision was not accepted when it landed; it landed in state Needs Review.Aug 22 2020, 6:14 PM
This revision was automatically updated to reflect the committed changes.