HomeFreeBSD

netdump: Check the return value of ifunit_ref()

Description

netdump: Check the return value of ifunit_ref()

We may fail to match if the specific interface doesn't exist or was
renamed.

PR: 273715
Reported by: grembo
MFC after: 1 week

(cherry picked from commit d94d07d58141dcff48f01c6b3e5a31de9d7a7938)

Details

Provenance
markjAuthored on Oct 2 2023, 12:08 PM
Parents
rGd8cb6c173417: swap_pager: Fix a race in swap_pager_swapoff_object()
Branches
Unknown
Tags
Unknown