Date: Sat, 26 Sep 2015 03:51:53 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r288250 - stable/10/sys/contrib/ipfilter/netinet Message-ID: <201509260351.t8Q3pr92024290@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Sat Sep 26 03:51:53 2015 New Revision: 288250 URL: https://svnweb.freebsd.org/changeset/base/288250 Log: MFC r287674, r287675. Fix ipfilter bug 3600459 NAT bucket count wrong. Obtained from: ipfilter cvs repo r1.48.2.25 Modified: stable/10/sys/contrib/ipfilter/netinet/ip_state.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/contrib/ipfilter/netinet/ip_state.c ============================================================================== --- stable/10/sys/contrib/ipfilter/netinet/ip_state.c Sat Sep 26 01:28:50 2015 (r288249) +++ stable/10/sys/contrib/ipfilter/netinet/ip_state.c Sat Sep 26 03:51:53 2015 (r288250) @@ -3646,7 +3646,8 @@ ipf_state_del(softc, is, why) is->is_me = NULL; is->is_ref--; } - if (is->is_ref > 1) { + is->is_ref--; + if (is->is_ref > 0) { int refs; is->is_ref--;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509260351.t8Q3pr92024290>