HomeFreeBSD

ppbus: Set the lock for pps interface, update to latest api

Description

ppbus: Set the lock for pps interface, update to latest api

Since we take a lock when we enter the ioctl, we need to set driver_mtx
in the pps structure so it can be dropped while sleeping during a call
to timepps_fetch() with a non-zero timeout (PPS_CANWAIT feature).

MFC After: 5 days
Sponsored by: Netflix
Reviewed by: ian
Differential Revision: https://reviews.freebsd.org/D31763

Details

Provenance
impAuthored on Sep 1 2021, 7:37 PM
Reviewer
ian
Differential Revision
D31763: ppbus: Set the lock for pps interface, update to latest api
Parents
rGf3fd88507489: openssh: update note about class-based login restrictions
Branches
Unknown
Tags
Unknown