HomeFreeBSD

cxgbe(4): Avoid unsafe hardware access in the ifmedia ioctls.

Description

cxgbe(4): Avoid unsafe hardware access in the ifmedia ioctls.

The hardware is unavailable when the device is suspended or in the
middle of a reset.

Sponsored by: Chelsio Communications

(cherry picked from commit 39a36707bd33b86a115651678028baeb616c8365)

Details

Provenance
npAuthored on Feb 11 2022, 11:37 PM
Parents
rGe005d417a282: cxgbe(4): Fix bad races between sysctl and driver detach.
Branches
Unknown
Tags
Unknown