HomeFreeBSD

in6_control_ioctl: correctly report errors from SIOCAIFADDR_IN6

Description

in6_control_ioctl: correctly report errors from SIOCAIFADDR_IN6

we have to use 'goto out' here rather than 'break' because otherwise
error is set to 0, which means the error is not propagated back to the
caller.

Reviewed by: kp

(cherry picked from commit 1408670c90ae38fd51ea6aaabe46757bc880608e)

Details

Provenance
ivyAuthored on Apr 7 2025, 12:40 PM
Parents
rG37303e96528e: link_addr: be more strict about address formats
Branches
Unknown
Tags
Unknown