HomeFreeBSD

Fix ixl debug sysctls panic

Description

Fix ixl debug sysctls panic

Remove the use of sbuf_data on drained sbufs from the debug sysctls:

  • ixl_sysctl_hw_res_alloc
  • ixl_sysctl_switch_config

This prevents a kernel panic when accessing these values under a kernel
compiled with INVARIANTS.

Sponsored by: Multiplay

Details

Provenance
smhAuthored on
Parents
rS290707: Fix UP build.
Branches
Unknown
Tags
Unknown