https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263783
--- Comment #32 from Zhenlei Huang <z...@freebsd.org> --- `if_alloc()` never fails. All supported branches ( main, stable/14, stable/13 ) now have the same behavior. So no need to do NULL check any more. ``` sc->sc_if = ifp = if_alloc(IFT_MBIM); - if (ifp == NULL) { - device_printf(sc->sc_dev, "Could not allocate a network interface\n"); - goto fail; - } ``` FYI https://reviews.freebsd.org/D45740 . -- You are receiving this mail because: You are the assignee for the bug.