HomeFreeBSD

Add test for checking RTF_HOST and RTAX_NETMASK inconsistency.

Description

Add test for checking RTF_HOST and RTAX_NETMASK inconsistency.

RTF_HOST indicates whether route is a host route
(netmask is empty or /{32,128}).
Check that if netmask is empty and host route is not specified, kernel
returns an error.

Differential Revision: https://reviews.freebsd.org/D26155

Details

Provenance
melifaroAuthored on Aug 22 2020, 6:14 PM
Parents
rGde0fcd3a4499: vfs: assert that HASBUF is only set with SAVENAME or SAVESTART
Branches
Unknown
Tags
Unknown

Event Timeline