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

Details

Provenance
glebiusAuthored on Jan 29 2025, 6:22 PM
Parents
rG876b88a44829: netlink: consistently use unsigned types in the parser
Branches
Unknown
Tags
Unknown