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
F108467219: D37892.id114596.diff
Sat, Jan 25, 4:11 AM
Unknown Object (File)
Mon, Jan 20, 10:14 PM
Unknown Object (File)
Mon, Jan 13, 2:26 AM
Unknown Object (File)
Dec 14 2024, 4:03 PM
Unknown Object (File)
Dec 14 2024, 2:22 PM
Unknown Object (File)
Nov 15 2024, 7:46 PM
Unknown Object (File)
Oct 30 2024, 1:05 AM
Unknown Object (File)
Oct 16 2024, 8:02 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