K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-03T12:25:29.000000Z K 7 svn:log V 632 MFOpenBSD 1.37, 1.38, 1.41. This is already present in RELENG_6 and HEAD due to OPENBSD_3_7 pf import - Increment the states reference counter in the rule attached to the state being inserted, so that the counter does not wrap back when the state is removed. This fixes pfsync setups with adaptive timeouts. - Clean up reference counting wrt state creation and destruction. Fixes problems with adaptive timeouts, max-states limits, and rules not being freed from memory. - Set creation timestamps correctly on states learnt by pfsync that are more than a second old. PR: 83187 PR: 83186 Submitted by: Martin Matuska END