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

(cherry picked from commit 01194da28a2123a2aa09808319f152fa115f60f1)

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
rG738b20a47f73: amd64 wakeup: recalculate mitigations after APICs are woken
Branches
Unknown
Tags
Unknown