svn commit: r263478 - in stable/10: share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netatalk sys/netinet sys/netinet6 sys/netipx sys/netpfil/pf sys/nfs usr.bin/netstat

Andrey Chernov ache at freebsd.org
Fri Mar 21 20:07:34 UTC 2014


On 21.03.2014 19:15, Gleb Smirnoff wrote:
>     - Remove rt_metrics_lite and simply put its members into rtentry.
>     - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This
>       removes another cache trashing ++ from packet forwarding path.
>     - Create zini/fini methods for the rtentry UMA zone. Via initialize
>       mutex and counter in them.
>     - Fix reporting of rmx_pksent to routing socket.
>     - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode.

'make world' on i386 recent stable-10:

/usr/src/usr.bin/netstat/route.c:333:7: error: format specifies type
'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long
long') [-Werror,-Wformat]
                    kread_counter((u_long )rt->rt_pksent));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/usr.bin/netstat/route.c:871:7: error: format specifies type
'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long
long') [-Werror,-Wformat]
                    kread_counter((u_long )rt->rt_pksent));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
*** Error code 1

Stop.

-- 
http://ache.vniz.net/


More information about the svn-src-stable-10 mailing list