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)
Tue, Oct 21, 9:12 PM
Unknown Object (File)
Tue, Oct 21, 6:57 PM
Unknown Object (File)
Mon, Oct 13, 8:56 AM
Unknown Object (File)
Mon, Oct 13, 8:56 AM
Unknown Object (File)
Mon, Oct 13, 8:56 AM
Unknown Object (File)
Mon, Oct 13, 8:55 AM
Unknown Object (File)
Mon, Oct 13, 8:55 AM
Unknown Object (File)
Mon, Oct 13, 8:55 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