]> www.infradead.org Git - users/dwmw2/linux.git/commit
ip: Move INFINITY_LIFE_TIME to addrconf.h.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Fri, 9 Aug 2024 23:54:06 +0000 (16:54 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Aug 2024 01:56:14 +0000 (18:56 -0700)
commitde67763cbdbba8149eeb5d45ad0c6834f7c7b352
tree348c5b7f60ffd113075462112e6a3aa92fd417a0
parent100465a91a900699db9c64fb55063affd15c4362
ip: Move INFINITY_LIFE_TIME to addrconf.h.

INFINITY_LIFE_TIME is the common value used in IPv4 and IPv6 but defined
in both .c files.

Also, 0xffffffff used in addrconf_timeout_fixup() is INFINITY_LIFE_TIME.

Let's move INFINITY_LIFE_TIME's definition to addrconf.h

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20240809235406.50187-6-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/addrconf.h
net/ipv4/devinet.c
net/ipv6/addrconf.c