Page MenuHomeFreeBSD

nd6: Ignore entire PI if violates RFC 4862 section 5.5.3
ClosedPublic

Authored by pouria on Mar 28 2026, 8:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 22, 5:10 AM
Unknown Object (File)
Fri, May 22, 12:41 AM
Unknown Object (File)
Mon, May 18, 4:21 AM
Unknown Object (File)
Mon, May 18, 4:17 AM
Unknown Object (File)
Thu, May 14, 10:13 AM
Unknown Object (File)
Thu, May 14, 1:29 AM
Unknown Object (File)
Thu, May 14, 12:44 AM
Unknown Object (File)
Thu, May 14, 12:25 AM

Details

Summary

Ignore prefix information update earlier in prelist_update().
If PI is invalid or autonomous bit is unset, we better to let our
SLAAC address expire.
If we don't have any previous matching prefix, better not to create new one.
Because either our router don't want us to have one anymore, or the very
RA is malicious.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 29 2026, 5:00 PM
zlei added inline comments.
sys/netinet6/nd6_rtr.c
1572

Remove this stale comment as well ?

1607

The previous comment confuses me a bit. Why pr must be non NULL at this point ?

pouria retitled this revision from ndp: Ignore entire PI if violates RFC 4862 section 5.5.3 to nd6: Ignore entire PI if violates RFC 4862 section 5.5.3.Apr 1 2026, 4:07 PM
pouria marked an inline comment as done.

Address @zlei comment.

This revision now requires review to proceed.Apr 1 2026, 4:32 PM

Not an expert in the area.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 17 2026, 10:59 PM
This revision was automatically updated to reflect the committed changes.