Page MenuHomeFreeBSD

Add null check to iflib_stop()
ClosedPublic

Authored by przemyslawx.lewandowski_intel.com on Dec 28 2022, 8:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 30, 1:05 AM
Unknown Object (File)
Wed, Oct 16, 8:02 AM
Unknown Object (File)
Wed, Oct 16, 7:18 AM
Unknown Object (File)
Sep 26 2024, 7:34 PM
Unknown Object (File)
Sep 24 2024, 2:12 AM
Unknown Object (File)
Sep 17 2024, 12:14 PM
Unknown Object (File)
Sep 10 2024, 5:22 AM
Unknown Object (File)
Sep 8 2024, 4:50 AM

Details

Summary

Since gtaskqueue_drain was added to iflib_stop() then panic kernel occurs when intel ice driver is in recovery mode. Queues are not initialized in this mode so gt_taskqueue is not initialized as well. Added if condition fixes this issue.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable