HomeFreeBSD

netlink/route: fix nlattr_get_multipath() to check length

Description

netlink/route: fix nlattr_get_multipath() to check length

of supplied nexthop sub-attributes. While here, use unsigned types for
length calculations and improve style(9).

PR: 283860
(cherry picked from commit 49a6e213416b5c0c9eccdff0af1c6b01f34c3693)

Details

Provenance
glebiusAuthored on Jan 29 2025, 6:22 PM
Parents
rG886fcbde46c7: acpi_ibm: pass brightness events to evdev(4)
Branches
Unknown
Tags
Unknown