]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: IPv6 Compliance: Router Advertisement Processing, Reachable Time [v6LC.2...
authorMatt Muggeridge <LiveFreeAndRoam@gmail.com>
Mon, 13 May 2024 21:50:51 +0000 (07:50 +1000)
committerGitHub <noreply@github.com>
Mon, 13 May 2024 21:50:51 +0000 (06:50 +0900)
commit2d393b1b6d8c8cb131b70714ef5cd2d5d1c446bf
treeec8d5eb13c04d3036cc90951f621cb94040bab6c
parentc5ecf0949460dd0bf3211db128a385ce6375252e
network: IPv6 Compliance: Router Advertisement Processing, Reachable Time [v6LC.2.2.15] (#32792)

Previously, RA option fields were being ignored when the Router Lifetime
value was zero. Remove this logic to be compliant with RFC4861.

Extract from: https://www.ietf.org/rfc/rfc4861.html#section-4.2, p.21,
first paragraph:

    The Router Lifetime applies only to
    the router's usefulness as a default router; it
    does not apply to information contained in other
    message fields or options.

This affected IPv6 Conformance test:
    v6LC.2.2.15: Router Advertisement Processing, Reachable Time.

Fixes #31842.

Co-authored-by: Matt Muggeridge <Matt.Muggeridge@hpe.com>
src/network/networkd-ndisc.c