]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/ndisc: do not try to set too large value for ICMP ratelimting
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 12 Jan 2024 01:00:31 +0000 (10:00 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 12 Jan 2024 14:38:30 +0000 (14:38 +0000)
commitbe89a76a4613e6fdfbd027d735dc7c4d4e5f495a
tree439228feb1588273c7701e47ae706edbc61ab54f
parentf4220d8c05daabc99a36c82323761bde8df61902
network/ndisc: do not try to set too large value for ICMP ratelimting

Follow-up for 6197db53ba3c61de2268eb723a7a9cd4b3f5f87c.

When we set too large value, the kernel just refuse it. So, this does
not change the net behavior.

Prompted by https://github.com/systemd/systemd/pull/30490#discussion_r1449477125.
src/network/networkd-ndisc.c