Call getuptime() just once per function
authorkn <kn@openbsd.org>
Mon, 8 Aug 2022 15:56:35 +0000 (15:56 +0000)
committerkn <kn@openbsd.org>
Mon, 8 Aug 2022 15:56:35 +0000 (15:56 +0000)
commit5d905914d86d52e4d16d391c5e791ac990b0476a
treec4504e5adc63558035f8e3058348d4fad465450b
parent6fd32186fd9130fe92cde28453f152d5f920beab
Call getuptime() just once per function

IPv6 pendant to bluhm's sys/netinet/if_ether.c r1.249:
    Instead of calling getuptime() all the time in ARP code, do it only
    once per function.  This gives a more consistent time value.
    OK claudio@ miod@ mvs@

OK bluhm
sys/netinet6/ip6_forward.c
sys/netinet6/ip6_mroute.c
sys/netinet6/nd6.c