diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2011-10-19 13:13:56 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2011-10-19 13:13:56 +0000 |
commit | e999988442a9ee768086d55d2b42e7724273bd99 (patch) | |
tree | badee25ed6b1ab0449d7a2bcd220de978cbdd127 /sbin/nos-tun | |
parent | 578153f1baebab6c3b2e4ff3ee0cb55d275996b7 (diff) | |
download | src-e999988442a9ee768086d55d2b42e7724273bd99.tar.gz src-e999988442a9ee768086d55d2b42e7724273bd99.zip |
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
Notes
Notes:
svn path=/head/; revision=226544
Diffstat (limited to 'sbin/nos-tun')
0 files changed, 0 insertions, 0 deletions