svn commit: r288250 - stable/10/sys/contrib/ipfilter/netinet
Cy Schubert
cy at FreeBSD.org
Sat Sep 26 03:51:54 UTC 2015
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--;
More information about the svn-src-stable
mailing list