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)
Fri, Mar 7, 8:36 PM
Unknown Object (File)
Mar 5 2025, 6:23 AM
Unknown Object (File)
Mar 4 2025, 11:36 AM
Unknown Object (File)
Feb 24 2025, 8:46 AM
Unknown Object (File)
Feb 23 2025, 1:24 AM
Unknown Object (File)
Jan 12 2025, 3:29 AM
Unknown Object (File)
Jan 10 2025, 4:33 AM
Unknown Object (File)
Jan 5 2025, 11:55 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 Not Applicable
Unit
Tests Not Applicable

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.