K 10 svn:author V 3 erj K 8 svn:date V 27 2023-02-07T00:33:09.457524Z K 7 svn:log V 694 iflib: Add null check to iflib_stop() Ever since gtaskqueue_drain() was added to iflib_stop(), a kernel panic occurs when the ice(4) driver is in recovery mode. Queues are not initialized in this mode, so gt_taskqueue is not initialized, and gtaskqueue_drain() will panic. Fix this by only doing a drain if an RX queue's gt_taskqueue is initialized. Signed-off-by: Eric Joyner Reviewed by: erj@ MFC after: 1 week Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D37892 (cherry picked from commit 9147969bc277b389a62373c6a5050a2ebfd39071) Git Hash: c907f13af0e66ea7f3112a06716d4ed6e04da258 Git Author: przemyslawx.lewandowski@intel.com END