diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-01-01 22:16:52 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-01-01 22:16:52 +0000 |
commit | 2117ce5a711c11d0419873da27c38ad88ad59612 (patch) | |
tree | 42e7fc7731a3e0514f11d824fe9ed5f91d053227 /sys/dev | |
parent | e12934f67196046526d6eedff779b4e52e87cdd8 (diff) |
Protect link between pf and inp with mutex.
Introduce global mutex to protect the pointers between pf state key
and internet PCB. Then in_pcbdisconnect() and in_pcbdetach() do
not need exclusive netlock anymore. Use a bunch of read once
unlocked access to reduce performance impact.
OK sashan@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions