]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: route: drop kernel version check for route expiration 21035/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 15 Oct 2021 01:07:57 +0000 (10:07 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 19 Oct 2021 11:33:43 +0000 (20:33 +0900)
commit0b0c81bb53d990b9523413ea305b2a241e955e08
tree106812ca458631c723c0f7889f09c28b0fc12b34
parentff43dddab7260c9220eaea2a545514772c0e581f
network: route: drop kernel version check for route expiration

Even in newer kernel version, it seems that some route type does not
support expiration, e.g. IPv4 route or unreachable route. Let's use
timer event source for such routes.
src/network/networkd-route.c
src/network/networkd-util.c
src/network/networkd-util.h