[ovs-dev] [PATCH 08/18] flow: Split flow_extract

Jarno Rajahalme jarno.rajahalme at nsn.com
Fri Dec 28 05:32:05 UTC 2012


On Dec 27, 2012, at 7:23 , ext Simon Horman wrote:
> ---
> datapath/datapath.c |    2 +-
> lib/flow.c          |   34 +++++++++++++++++++++++++++++-----
> lib/flow.h          |    2 ++
> 3 files changed, 32 insertions(+), 6 deletions(-)
> 
> diff --git a/datapath/datapath.c b/datapath/datapath.c
> index d902c16..101ee37 100644
> --- a/datapath/datapath.c
> +++ b/datapath/datapath.c
> @@ -344,7 +344,7 @@ void ovs_dp_process_received_packet(struct vport *p, struct sk_buff *skb)
> 	struct sw_flow *flow, *outer_flow = NULL;
> 	struct dp_stats_percpu *stats;
> 	u64 *stats_counter;
> -	__be16 encap_eth_type;
> +	__be16 encap_eth_type = 0;
> 	int error;
> 
> 	stats = this_cpu_ptr(dp->stats_percpu);

This should be in patch 06/18 instead.





More information about the dev mailing list