Module Name: src Committed By: liamjfoy Date: Thu Jan 19 13:13:48 UTC 2012
Modified Files: src/sys/netinet: ip_flow.c Log Message: Remove ipf_start from ipf struct To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/netinet/ip_flow.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet/ip_flow.c diff -u src/sys/netinet/ip_flow.c:1.59 src/sys/netinet/ip_flow.c:1.60 --- src/sys/netinet/ip_flow.c:1.59 Thu Apr 1 00:24:41 2010 +++ src/sys/netinet/ip_flow.c Thu Jan 19 13:13:48 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_flow.c,v 1.59 2010/04/01 00:24:41 tls Exp $ */ +/* $NetBSD: ip_flow.c,v 1.60 2012/01/19 13:13:48 liamjfoy Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ip_flow.c,v 1.59 2010/04/01 00:24:41 tls Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_flow.c,v 1.60 2012/01/19 13:13:48 liamjfoy Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -75,7 +75,6 @@ struct ipflow { u_long ipf_dropped; /* ENOBUFS retured by if_output */ u_long ipf_errors; /* other errors returned by if_output */ u_int ipf_timer; /* lifetime timer */ - time_t ipf_start; /* creation time */ }; #define IPFLOW_HASHBITS 6 /* should not be a multiple of 8 */ @@ -481,7 +480,7 @@ ipflow_create(const struct route *ro, st ipf->ipf_src = ip->ip_src; ipf->ipf_tos = ip->ip_tos; PRT_SLOW_ARM(ipf->ipf_timer, IPFLOW_TIMER); - ipf->ipf_start = time_uptime; + /* * Insert into the approriate bucket of the flow table. */