Change 4787572d0580 made if_alloc_domain() never fail, then also does the
wrappers if_alloc(), if_alloc_dev() and if_gethandle().
No functional change intended.
MFC after: ???
Differential D45740
net: Remove unneeded NULL check for the allocated ifnet zlei on Jun 26 2024, 8:58 AM. Authored by Tags None Referenced Files
Details Change 4787572d0580 made if_alloc_domain() never fail, then also does the No functional change intended. MFC after: ???
Diff Detail
Event TimelineComment Actions The full diff is quite large ( about 7 megabytes ). See my dev branch https://github.com/gmshake/freebsd-src/tree/main_if_alloc instead, or I can upload the full diff if requested.
Comment Actions I'm not from Juniper :) I would guess Juniper is fine with the proposed changes. They care about IfAPI hiding 'struct ifnet' better and better as time goes by, they don't have a requirement for the API to be never ever changing. I'll add Stephen to reviewers to correct me. Comment Actions Looks good. I can't answer the wrapper question definitively, but I suspect it will be fine. |