Attempt to fix an occassional panic in pf_purge_expired_states() by
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 16 Jul 2006 22:42:23 +0000 (22:42 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 16 Jul 2006 22:42:23 +0000 (22:42 +0000)
commitf0ea6854b1ba274a0925bba4cb0145a608df614b
tree0224bec8419f8228e48ee0717ae6e6e32fb0353d
parente1c944c62fc7e0d0ba190ae48df62f4e0a7e4630
Attempt to fix an occassional panic in pf_purge_expired_states() by
replacing an unsafe loop iteration with a safe one.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
Note: Simon's crash only occurs once a month or so, so this patch is
not definitive.
sys/net/pf/pf.c