HomeFreeBSD

pfsync: hold b_mtx for callout_stop(pd_tmo)

Description

pfsync: hold b_mtx for callout_stop(pd_tmo)

The pd_tmo callout has an associated mutex, which we must hold while
calling callout_stop().

Reported by: markj
Reviewed by: markj
MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D39223

Details

Provenance
kpAuthored on Mar 22 2023, 1:46 PM
Reviewer
markj
Differential Revision
D39223: pfsync: hold b_mtx for callout_stop(pd_tmo)
Parents
rG1512579adcf3: nfscl: Make coverity happy
Branches
Unknown
Tags
Unknown