HomeFreeBSD

netlink: Don't directly access ifnet members

Description

netlink: Don't directly access ifnet members

Summary:
Remove the final direct access of struct ifnet members from netlink.
Since only the first address is used, create the iterator and then free,
without fully iterating.

Reviewed By: kp
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D42972

Details

Provenance
jhibbitsAuthored on Oct 31 2024, 3:09 PM
Reviewer
kp
Differential Revision
D42972: netlink: Don't directly access ifnet members
Parents
rG3f2eb1ac2326: dummymbuf: Explicitly include if_private.h
Branches
Unknown
Tags
Unknown