Re: netinet6: Call getuptime() just once per function

2022-08-05 Thread Alexander Bluhm
On Thu, Aug 04, 2022 at 02:19:58PM +, Klemens Nanni wrote: > 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@ > > Feed

netinet6: Call getuptime() just once per function

2022-08-04 Thread Klemens Nanni
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@ Feedback? OK? diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forwa