Acked-by: Joe Stringer <joestrin...@nicira.com>

On 18 March 2014 10:35, Ben Pfaff <b...@nicira.com> wrote:

> 'created' is supposed to be the time the flow was created, but it was
> getting reset to zero on every expiration, causing the flow start time to
> be wonky after the first active expiration on a flow.
>
> Reported-by: Lior Neudorfer <l...@guardicore.com>
> Signed-off-by: Ben Pfaff <b...@nicira.com>
> ---
>  ofproto/netflow.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/ofproto/netflow.c b/ofproto/netflow.c
> index a093749..d551252 100644
> --- a/ofproto/netflow.c
> +++ b/ofproto/netflow.c
> @@ -270,7 +270,6 @@ netflow_expire__(struct netflow *nf, struct
> netflow_flow *nf_flow)
>      }
>
>      /* Update flow tracking data. */
> -    nf_flow->created = 0;
>      nf_flow->packet_count = 0;
>      nf_flow->byte_count = 0;
>      nf_flow->tcp_flags = 0;
> --
> 1.7.10.4
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to