diff options
author | melifaro <melifaro@FreeBSD.org> | 2012-10-22 14:10:17 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2012-10-22 14:10:17 +0000 |
commit | 030e8d5babad5063a71805311c5d64a891cd3f24 (patch) | |
tree | ff3e75b886091b1b012e8212d8b884514bbe1142 /MAINTAINERS | |
parent | f9a05f9a0a07c02f6cb54808ae52eef16ee600df (diff) | |
download | FreeBSD-src-030e8d5babad5063a71805311c5d64a891cd3f24.zip FreeBSD-src-030e8d5babad5063a71805311c5d64a891cd3f24.tar.gz |
Make PFIL use per-VNET lock instead of per-AF lock. Since most used packet
filters (ipfw and PF) use the same ruleset with the same lock for both
AF_INET and AF_INET6 there is no need in more fine-grade locking.
However, it is possible to request personal lock by specifying
PFIL_FLAG_PRIVATE_LOCK flag in pfil_head structure (see pfil.9 for
more details).
Export PFIL lock via rw_lock(9)/rm_lock(9)-like API permitting pfil consumers
to use this lock instead of own lock. This help reducing locks on main
traffic path.
pfil_assert() is currently not implemented due to absense of rm_assert().
Waiting for some kind of r234648 to be merged in HEAD.
This change is part of bigger patch reducing routing locking.
Sponsored by: Yandex LLC
Reviewed by: glebius, ae
OK'd by: silence on net@
MFC after: 3 weeks
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions