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)
Sun, May 10, 7:52 AM
Unknown Object (File)
Fri, May 8, 6:26 PM
Unknown Object (File)
Fri, May 1, 10:20 PM
Unknown Object (File)
Thu, Apr 30, 9:24 AM
Unknown Object (File)
Thu, Apr 30, 9:24 AM
Unknown Object (File)
Mon, Apr 27, 4:46 PM
Unknown Object (File)
Sat, Apr 25, 2:19 AM
Unknown Object (File)
Apr 20 2026, 6:48 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.