summaryrefslogtreecommitdiff
path: root/lib/libagentx
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-12-08 23:13:41 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-12-08 23:13:41 +0000
commitc6d7af1b95d5cb375f05e72fb3762f9bb586937e (patch)
tree1397299b44b395b57f10f375ccb1cb1a308e8873 /lib/libagentx
parent8bbcd2c27170236455b293c3885aca3520dbfeea (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