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: ???
Paths
| Differential D45740 Authored by zlei on Jun 26 2024, 8:58 AM.
Details Summary Change 4787572d0580 made if_alloc_domain() never fail, then also does the No functional change intended. MFC after: ???
Diff Detail
Event TimelineHerald added a reviewer: andrew. · View Herald TranscriptJun 26 2024, 8:58 AM2024-06-26 08:58:26 (UTC+0) Herald added subscribers: vegeta_tuxpowered.net, donner, melifaro and 3 others. · View Herald Transcript Herald added a subscriber: dsl. · View Herald TranscriptJun 26 2024, 8:58 AM2024-06-26 08:58:26 (UTC+0) Comment 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. Comment Actions
Yes, this change is fine. This revision was not accepted when it landed; it landed in state Needs Review.Jul 1 2024, 5:01 PM2024-07-01 17:01:06 (UTC+0) Closed by commit rGaa3860851b9f: net: Remove unneeded NULL check for the allocated ifnet (authored by zlei). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 140440 |