summaryrefslogtreecommitdiffstats
path: root/sys/libkern/moddi3.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-12-06 08:38:14 +0000
committerglebius <glebius@FreeBSD.org>2012-12-06 08:38:14 +0000
commit0777f694d39d1fa04a7cff934b61fe47165f47ac (patch)
tree26d6b46a813d398470de20791b4af88fa96e3df3 /sys/libkern/moddi3.c
parentd88e4529b616878be41bb69afa15a46d2429c47c (diff)
downloadFreeBSD-src-0777f694d39d1fa04a7cff934b61fe47165f47ac.zip
FreeBSD-src-0777f694d39d1fa04a7cff934b61fe47165f47ac.tar.gz
Rule memory garbage collecting in new pf scans only states that are on
id hash. If a state has been disconnected from id hash, its rule pointers can no longer be dereferenced, and referenced memory can't be modified. Thus, move rule statistics from pf_free_rule() to pf_unlink_rule() and update them prior to releasing id hash slot lock. Reported by: Ian FREISLICH <ianf cloudseed.co.za>
Diffstat (limited to 'sys/libkern/moddi3.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud