Increment rule counters only after successful state insertion
authormikeb <mikeb@openbsd.org>
Mon, 22 Jun 2015 15:58:23 +0000 (15:58 +0000)
committermikeb <mikeb@openbsd.org>
Mon, 22 Jun 2015 15:58:23 +0000 (15:58 +0000)
commite44d8797e7de30edf4cb50e675974c6f0866aa46
tree8314d190bc2fa13e98183098c31bb7d072bfc748
parent343eb25bcc3e4811d682a39942150e0d49fb8ba7
Increment rule counters only after successful state insertion

Do rule counter increments after state has been successfully
installed.  This has an additional benefit of making error
handling a bit simpler.

OK mpi, bluhm
sys/net/pf.c