Remove ip6f_start from ip6f struct

This commit is contained in:
liamjfoy 2012-01-19 13:19:34 +00:00
parent 301d4b230a
commit b723329891
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip6_flow.c,v 1.18 2009/03/23 18:43:20 liamjfoy Exp $ */
/* $NetBSD: ip6_flow.c,v 1.19 2012/01/19 13:19:34 liamjfoy Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ip6_flow.c,v 1.18 2009/03/23 18:43:20 liamjfoy Exp $");
__KERNEL_RCSID(0, "$NetBSD: ip6_flow.c,v 1.19 2012/01/19 13:19:34 liamjfoy Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -496,7 +496,6 @@ ip6flow_create(const struct route *ro, struct mbuf *m)
ip6f->ip6f_src = ip6->ip6_src;
ip6f->ip6f_flow = ip6->ip6_flow;
PRT_SLOW_ARM(ip6f->ip6f_timer, IP6FLOW_TIMER);
ip6f->ip6f_start = time_uptime;
/*
* Insert into the approriate bucket of the flow table.

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip6_var.h,v 1.57 2012/01/10 20:01:56 drochner Exp $ */
/* $NetBSD: ip6_var.h,v 1.58 2012/01/19 13:19:34 liamjfoy Exp $ */
/* $KAME: ip6_var.h,v 1.33 2000/06/11 14:59:20 jinmei Exp $ */
/*
@ -241,7 +241,6 @@ struct ip6flow {
u_quad_t ip6f_dropped; /* ENOBUFS returned by if_output */
u_quad_t ip6f_forwarded; /* packets forwarded */
u_int ip6f_timer; /* lifetime timer */
time_t ip6f_start; /* creation time */
};
#ifdef _KERNEL