HomeFreeBSD

qlnxe: Prevent potential concurrency between ioctls

Description

qlnxe: Prevent potential concurrency between ioctls

The driver-managed status flags should be lock protected to be touched.
Also this can serialize ioctls those check the IFF_DRV_RUNNING status.

Approved by: re (cperciva)
Reviewed by: kbowling
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D54886

(cherry picked from commit 0df8a998a9fe28af659cb401c537c6d785e55f81)
(cherry picked from commit 285b25c080faf71c60de36e834ef31cf70e6b50d)
(cherry picked from commit 6e5b12acb66a9e269801b8d88c8f9838044d631c)

Details

Provenance
zleiAuthored on Feb 6 2026, 5:52 PM
cpercivaCommitted on Feb 11 2026, 8:29 PM
Reviewer
kbowling
Differential Revision
D54886: qlnxe: Prevent potential concurrency between ioctls
Parents
rGf8e20e75a61b: qlnxe: Fix setting the unicast MAC filter of RX path
Branches
Unknown
Tags
Unknown