]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "ndisc: Also set link hoplimit"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 6 Nov 2023 06:28:12 +0000 (15:28 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 6 Nov 2023 06:33:10 +0000 (15:33 +0900)
commit93e583aaba6f50fbd24aca71189a80fd77277edf
tree4e8225aa16ed0d556de6ab7c882b0d9d7fde32d4
parenta4a047c3166d040361f3a58f0747e41d500c7a09
Revert "ndisc: Also set link hoplimit"

This reverts commit 0ba8374bb8a7032ca13ba98d10e8d7c3378ca9c6.

- link->network->ipv6_hop_limit must not be updated, as it may be used
  by multiple interfaces,
- We may receive multiple RA from multiple routers with different hop
  limit, and we should not make the default hop limit flicking,
- First of all, there is no reason that we need to update the default hop
  limit,
- The original issue should be caused by the hash and compare functions
  for Route object.
src/network/networkd-ndisc.c
src/network/networkd-sysctl.c
src/network/networkd-sysctl.h