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.
Differential D26155
Add tests for checking RTF_HOST and RTAX_NETMASK inconsistency. melifaro on Aug 21 2020, 10:25 PM. Authored by Tags None Referenced Files
Details
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
|