Print this page
9994 cxgbe t4nex: Handle get_fl_payload() alloc failures
9995 cxgbe t4_devo_attach() should initialize ->sfl

@@ -315,10 +315,11 @@
         sc->dip = dip;
         sc->dev = makedevice(ddi_driver_major(dip), instance);
         mutex_init(&sc->lock, NULL, MUTEX_DRIVER, NULL);
         cv_init(&sc->cv, NULL, CV_DRIVER, NULL);
         mutex_init(&sc->sfl_lock, NULL, MUTEX_DRIVER, NULL);
+        TAILQ_INIT(&sc->sfl);
 
         mutex_enter(&t4_adapter_list_lock);
         SLIST_INSERT_HEAD(&t4_adapter_list, sc, link);
         mutex_exit(&t4_adapter_list_lock);