Home
last modified time | relevance | path

Searched hist:a2901083b1490a45df0700ac0aaa0730811cbf15 (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Dtcp_metrics.cdiff a2901083b1490a45df0700ac0aaa0730811cbf15 Fri Aug 16 23:22:44 CEST 2024 Jakub Kicinski <kuba@kernel.org> tcp_metrics: use netlink policy for IPv6 addr len validation

Use the netlink policy to validate IPv6 address length.
Destination address currently has policy for max len set,
and source has no policy validation. In both cases
the code does the real check. With correct policy
check the code can be removed.

Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20240816212245.467745-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>