Re: rip6 and icmp6stat percpu counters

2017-02-09 Thread Alexander Bluhm
On Thu, Feb 09, 2017 at 08:39:42PM +0100, Jeremie Courreges-Anglas wrote: > Initial diff committed. The diff below should save a few bytes. > > ok? OK bluhm@ > Index: icmp6.c > === > RCS file: /d/cvs/src/sys/netinet6/icmp6.c,v > re

Re: rip6 and icmp6stat percpu counters

2017-02-09 Thread Jeremie Courreges-Anglas
Jeremie Courreges-Anglas writes: > In icmp6_errcount() we could save a few function calls but I preferred > to keep the conversion as mechanical as possible. Initial diff committed. The diff below should save a few bytes. ok? Index: icmp6.c ===

rip6 and icmp6stat percpu counters

2017-02-06 Thread Jeremie Courreges-Anglas
In icmp6_errcount() we could save a few function calls but I preferred to keep the conversion as mechanical as possible. Works fine here on amd64 (I can test armv7 soon). ok? Index: netinet/icmp6.h === RCS file: /d/cvs/src/sys/net