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
F169312718: D26155.id76080.diff
Tue, Sep 1, 4:31 AM
F169270598: D26155.id.diff
Tue, Sep 1, 2:44 AM
F169149146: D26155.diff
Mon, Aug 31, 2:36 PM
F169128230: D26155.id76091.diff
Mon, Aug 31, 12:40 PM
Unknown Object (File)
Sat, Aug 29, 9:48 PM
Unknown Object (File)
Thu, Aug 27, 11:37 AM
Unknown Object (File)
Wed, Aug 26, 1:39 AM
Unknown Object (File)
Tue, Aug 25, 8:43 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.