]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the new ipf_pcksum6() function from ip_fil_freebsd.c to fil.c.
authorCy Schubert <cy@FreeBSD.org>
Fri, 12 Jul 2019 01:59:08 +0000 (01:59 +0000)
committerCy Schubert <cy@FreeBSD.org>
Fri, 12 Jul 2019 01:59:08 +0000 (01:59 +0000)
commit75118b47fc3524bfbce5e5144a970f5acaaa7450
tree54fff9615c5697d6c94a206b0163e60e362cbb05
parent1ea717577ff49c661edf602ce7e361345165c52b
Move the new ipf_pcksum6() function from ip_fil_freebsd.c to fil.c.
The reason for this is that ipftest(8), which still works on FreeBSD-11,
fails to link to it, breaking stable/11 builds.

ipftest(8) was broken (segfault) sometime during the FreeBSD-12 cycle.
glebius@ suggested we disable building it until I can get around to
fixing it. Hence this was not caught in -current.

The intention is to fix ipftest(8) as it is used by the netbsd-tests
(imported by ngie@ many moons ago) for regression testing.

MFC after: immediately
sys/contrib/ipfilter/netinet/fil.c
sys/contrib/ipfilter/netinet/ip_fil.h
sys/contrib/ipfilter/netinet/ip_fil_freebsd.c