Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Remove ipf_start from ipf struct



details:   https://anonhg.NetBSD.org/src/rev/95738947f919
branches:  trunk
changeset: 772870:95738947f919
user:      liamjfoy <liamjfoy%NetBSD.org@localhost>
date:      Thu Jan 19 13:13:48 2012 +0000

description:
Remove ipf_start from ipf struct

diffstat:

 sys/netinet/ip_flow.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r ede72596b621 -r 95738947f919 sys/netinet/ip_flow.c
--- a/sys/netinet/ip_flow.c     Thu Jan 19 12:14:49 2012 +0000
+++ b/sys/netinet/ip_flow.c     Thu Jan 19 13:13:48 2012 +0000
@@ -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 @@
        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 @@
        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.
         */



Home | Main Index | Thread Index | Old Index