]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rename net.inet.ip.check_interface to rfc1122_strong_es and document it.
authorGleb Smirnoff <glebius@FreeBSD.org>
Fri, 12 Nov 2021 16:56:46 +0000 (08:56 -0800)
committerGleb Smirnoff <glebius@FreeBSD.org>
Fri, 12 Nov 2021 16:57:06 +0000 (08:57 -0800)
commit94df3271d6b2e3511f1ff234bcc16e8b031ce6df
tree2a89868e4818b7286db5ec0810888d428a21c6d0
parenteb6b6622fe858fef7896bb25a8a79dbd08b01335
Rename net.inet.ip.check_interface to rfc1122_strong_es and document it.

This very questionable feature was enabled in FreeBSD for a very short
time.  It was disabled very soon upon merging to RELENG_4 - 23d7f14119bf.
And in HEAD was also disabled pretty soon - 4bc37f9836fb1.

The tunable has very vague name. Check interface for what? Given that
it was never documented and almost never enabled, I think it is fine
to rename it together with documenting it.

Also, count packets dropped by this tunable as ips_badaddr, otherwise
they fall down to ips_cantforward counter, which is misleading, as
packet was not supposed to be forwarded, it was destined locally.

Reviewed by: donner, kp
Differential revision: https://reviews.freebsd.org/D32912
share/man/man4/inet.4
sys/netinet/ip_input.c