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
F152436841: D26155.diff
Tue, Apr 14, 11:17 PM
F152397302: D26155.id76080.diff
Tue, Apr 14, 5:07 PM
Unknown Object (File)
Tue, Apr 14, 5:43 AM
Unknown Object (File)
Fri, Apr 10, 5:43 AM
Unknown Object (File)
Fri, Apr 10, 1:11 AM
Unknown Object (File)
Sat, Apr 4, 5:22 PM
Unknown Object (File)
Wed, Mar 25, 6:02 AM
Unknown Object (File)
Mar 14 2026, 9:35 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.