svn commit: r319099 - head/sys/contrib/ipfilter/netinet
Cy Schubert
cy at FreeBSD.org
Mon May 29 07:15:30 UTC 2017
Author: cy
Date: Mon May 29 07:15:28 2017
New Revision: 319099
URL: https://svnweb.freebsd.org/changeset/base/319099
Log:
Revert r318789. It causes hanging NAT tcp sessions.
Modified:
head/sys/contrib/ipfilter/netinet/ip_nat.c
Modified: head/sys/contrib/ipfilter/netinet/ip_nat.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_nat.c Mon May 29 06:31:07 2017 (r319098)
+++ head/sys/contrib/ipfilter/netinet/ip_nat.c Mon May 29 07:15:28 2017 (r319099)
@@ -497,9 +497,7 @@ ipf_nat_soft_init(softc, arg)
softn->ipf_nat_pending.ifq_next = NULL;
for (i = 0, tq = softn->ipf_nat_tcptq; i < IPF_TCP_NSTATES; i++, tq++) {
-#ifdef LARGE_NAT
if (tq->ifq_ttl < softn->ipf_nat_deficmpage)
-#endif
tq->ifq_ttl = softn->ipf_nat_deficmpage;
#ifdef LARGE_NAT
else if (tq->ifq_ttl > softn->ipf_nat_defage)
More information about the svn-src-head
mailing list