Date: Tue, 21 Jul 2009 21:58:55 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_sysctl.c src/sys/net vnet.h src/sys/netinet tcp_subr.c src/sys/netinet6 in6_proto.c Message-ID: <200907212159.n6LLxBKj009895@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-07-21 21:58:55 UTC FreeBSD src repository Modified files: sys/kern kern_sysctl.c sys/net vnet.h sys/netinet tcp_subr.c sys/netinet6 in6_proto.c Log: SVN rev 195814 on 2009-07-21 21:58:55Z by bz sysctl_msec_to_ticks is used with both virtualized and non-vrtiualized sysctls so we cannot used one common function. Add a macro to convert the arg1 in the virtualized case to vnet.h to not expose the maths to all over the code. Add a wrapper for the single virtualized call, properly handling arg1 and call the default implementation from there. Convert the two over places to use the new macro. Reviewed by: rwatson Approved by: re (kib) Revision Changes Path 1.200 +0 -5 src/sys/kern/kern_sysctl.c 1.20 +6 -0 src/sys/net/vnet.h 1.349 +9 -1 src/sys/netinet/tcp_subr.c 1.65 +2 -10 src/sys/netinet6/in6_proto.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907212159.n6LLxBKj009895>