Skip to content

DHCP6: Mirror the prior DHCP rapid commit fix to DHCPv6 - #695

Merged
rsmarples merged 1 commit into
masterfrom
dhcp6-rapidcommit
Aug 11, 2026
Merged

DHCP6: Mirror the prior DHCP rapid commit fix to DHCPv6#695
rsmarples merged 1 commit into
masterfrom
dhcp6-rapidcommit

Conversation

@rsmarples

Copy link
Copy Markdown
Member

Fixes #690

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c847fac7-b873-40f6-b6c4-36eff12b902e

📥 Commits

Reviewing files that changed from the base of the PR and between 0406dd8 and 9151877.

📒 Files selected for processing (1)
  • src/dhcp6.c

Walkthrough

The DHCPv6 client now uses the Rapid Commit “requested” policy check for message sizing, option emission, and discovery reply acceptance.

Changes

DHCPv6 Rapid Commit handling

Layer / File(s) Summary
Rapid Commit option construction
src/dhcp6.c
Message sizing and Rapid Commit option emission now occur only when Rapid Commit is requested.
Rapid Commit reply validation
src/dhcp6.c
Discovery accepts a Rapid Commit reply only when Rapid Commit is requested.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related issues

  • NetworkConfiguration/dhcpcd issue 692 — It also concerns Rapid Commit policy checks and DHCPv6 reply acceptance.

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The change addresses DHCPv6 rapid commit behavior and prefix delegation, but the linked issue also requires restoring routable IPv4 connectivity, which is not covered here. Add or link code changes that address the linked issue's IPv4 connectivity regression, or update the issue scope if the IPv4 fix is intentionally excluded.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the DHCPv6 rapid commit fix and matches the primary code change.
Description check ✅ Passed The description links the pull request to issue #690, which directly relates to the reported DHCP connectivity regression.
Out of Scope Changes check ✅ Passed The three-line change is limited to DHCPv6 rapid commit sizing, emission, and reply validation, all of which support the linked issue.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dhcp6-rapidcommit

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rsmarples
rsmarples merged commit c560504 into master Aug 11, 2026
22 checks passed
@rsmarples
rsmarples deleted the dhcp6-rapidcommit branch August 11, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10.5.0: creates unroutable IPv4 and fails to delegate an IPv6 prefix

1 participant