diff options
author | glebius <glebius@FreeBSD.org> | 2012-12-06 08:38:14 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2012-12-06 08:38:14 +0000 |
commit | 0777f694d39d1fa04a7cff934b61fe47165f47ac (patch) | |
tree | 26d6b46a813d398470de20791b4af88fa96e3df3 /sys/libkern/strrchr.c | |
parent | d88e4529b616878be41bb69afa15a46d2429c47c (diff) | |
download | FreeBSD-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/strrchr.c')
0 files changed, 0 insertions, 0 deletions