The state expiration may lead to freeing rules, which requires this lock.
Since the lock is sleepable, move the expiry routine from callout context
to a taskqueue. This also should have a positive effect of not running
expensive function as a callout.
Details
Details
- Reviewers
ae lytboris_gmail.com pouria - Group Reviewers
network - Commits
- rG331333ba0186: ipfw: hold sleepable "upper half lock" for periodic state expiry
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable