Page MenuHomeFreeBSD

IPv6 redirect doesn't work.
Needs ReviewPublic

Authored by steven_chen3_dell.com on Feb 2 2024, 10:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 9:42 AM
Unknown Object (File)
Sat, Apr 27, 9:41 AM
Unknown Object (File)
Sat, Apr 27, 8:16 AM
Unknown Object (File)
Fri, Apr 26, 3:15 AM
Unknown Object (File)
Sun, Apr 21, 9:44 AM
Unknown Object (File)
Mar 8 2024, 6:18 PM
Unknown Object (File)
Mar 2 2024, 4:44 PM
Unknown Object (File)
Feb 19 2024, 10:16 PM

Details

Reviewers
melifaro
Summary

If the redirect target isn't link local address, and redirect destination and redirect target address are the same,
the route install for redirect will fail.
In this cause, the type of gateway address is AF_LINK, the size of that address structure is 56 bytes, but the max size of store address of nhop
is only 28 bytes, which cause size check failure.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

steven_chen3_dell.com edited the summary of this revision. (Show Details)

Thank you for submitting the patch. I’m not sure I fully understand the problem and the solution.
Could you please provide some examples?