HomeFreeBSD

netinet: pass cred instead of the curthread to ifaddr manipulation funcs.

Description

netinet: pass cred instead of the curthread to ifaddr manipulation funcs.

Pass the credentials directly to the functions, so non-ioctl kernel
users can also performan address manipulations.

MFC after: 2 weeks

(cherry picked from commit f375bf0e6f0bc6bce3e5b3c6adabc465be2665d0)

Details

Provenance
melifaroAuthored on Sep 26 2022, 12:07 PM
Parents
rGad1954ec9405: routing: constantify nh/nhg argument in <nhop|nhgrp>_get_origin().
Branches
Unknown
Tags
Unknown