diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2023-12-08 23:13:41 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2023-12-08 23:13:41 +0000 |
commit | c6d7af1b95d5cb375f05e72fb3762f9bb586937e (patch) | |
tree | 1397299b44b395b57f10f375ccb1cb1a308e8873 /lib/libagentx | |
parent | 8bbcd2c27170236455b293c3885aca3520dbfeea (diff) |
Introduce `sc_mtx' mutex(9) to protect the most of pflow_softc
structure. Protect the `send_nam', `sc_flowsrc' and `sc_flowdst'
pflow_softc members by existing `sc_lock' rwlock(9).
This partially fixes locking inconsistency of pflow_softc. The following
work will be done with separate diffs.
Also, pass `sc' instead of NULL to pflow_get_mbuf() while calling from
pflow_sendout_ipfix_tmpl(). This fixes the NULL dereference.
ok bluhm@
Diffstat (limited to 'lib/libagentx')
0 files changed, 0 insertions, 0 deletions