diff options
author | bz <bz@FreeBSD.org> | 2011-10-19 13:13:56 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2011-10-19 13:13:56 +0000 |
commit | 5203b218132fddbf9d5134638e8c2debba05979f (patch) | |
tree | badee25ed6b1ab0449d7a2bcd220de978cbdd127 /lib/libc | |
parent | 5d19d6ad8002a585108bb1c0e92a43a771c1ef7f (diff) | |
download | FreeBSD-src-5203b218132fddbf9d5134638e8c2debba05979f.zip FreeBSD-src-5203b218132fddbf9d5134638e8c2debba05979f.tar.gz |
Fix recursive pf locking leading to panics. Splatter PF_LOCK_ASSERT()s
to document where we are expecting to be called with a lock held to
more easily catch unnoticed code paths.
This does not neccessarily improve locking in pfsync, it just tries
to avoid the panics reported.
PR: kern/159390, kern/158873
Submitted by: pluknet (at least something that partly resembles
my patch ignoring other cleanup, which I only saw
too late on the 2nd PR)
MFC After: 3 days
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions