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
F82056489: D26155.diff
Thu, Apr 25, 2:20 AM
Unknown Object (File)
Tue, Apr 23, 12:34 PM
Unknown Object (File)
Feb 14 2024, 4:56 AM
Unknown Object (File)
Dec 20 2023, 8:29 AM
Unknown Object (File)
Aug 2 2023, 6:25 PM
Unknown Object (File)
Jul 15 2023, 10:25 PM
Unknown Object (File)
Jun 28 2023, 10:30 PM
Unknown Object (File)
Jun 28 2023, 9:54 PM
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.