Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7ae2ec39 authored by Xiao Ma's avatar Xiao Ma
Browse files

Rollback to DHCPDISCOVER w/o Rapid Commit if handshake doesn't succeeds.

To prevent the potential interoperability issue with Rapid Commit
option, limit the first 3 DHCPDISCOVER packets taking this option.
If DhcpClient doesn't receive any valid DHCPACK within the first
3 packet (re)transmission, then just rollback to DHCPDISCOVER
without Rapid Commit option in the subsequent transmission.

Bug: 198226242
Test: atest NetworkStackIntegrationTests
Change-Id: Id926c94aa96a5a36d91f82371e472eac7361114e
parent 0d79a43a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment