aboutsummaryrefslogtreecommitdiff
path: root/sys/nfs/bootp_subr.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2014-03-05 01:17:47 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2014-03-05 01:17:47 +0000
commite3a7aa6f56f9377fc576988a41986b3832b038cf (patch)
treec94a610c690dc0167aec575edf34ac5b23f1f498 /sys/nfs/bootp_subr.c
parentfb3541ad15f18d7dd4149c314e7a53d5013f6d04 (diff)
downloadsrc-e3a7aa6f56f9377fc576988a41986b3832b038cf.tar.gz
src-e3a7aa6f56f9377fc576988a41986b3832b038cf.zip
- 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. The change is mostly targeted for stable/10 merge. For head, rt_pksent is expected to just disappear. Discussed with: melifaro Sponsored by: Netflix Sponsored by: Nginx, Inc.
Notes
Notes: svn path=/head/; revision=262763
Diffstat (limited to 'sys/nfs/bootp_subr.c')
-rw-r--r--sys/nfs/bootp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c
index d85851a63da4..83a3d0731117 100644
--- a/sys/nfs/bootp_subr.c
+++ b/sys/nfs/bootp_subr.c
@@ -343,7 +343,7 @@ bootpboot_p_rtentry(struct rtentry *rt)
bootpboot_p_sa(rt->rt_gateway, NULL);
printf(" ");
printf("flags %x", (unsigned short) rt->rt_flags);
- printf(" %d", (int) rt->rt_rmx.rmx_expire);
+ printf(" %d", (int) rt->rt_expire);
printf(" %s\n", rt->rt_ifp->if_xname);
}