On Fri, Nov 11, 2011 at 02:41:37PM -0800, Pravin B Shelar wrote:
> diff --git a/datapath/actions.c b/datapath/actions.c
> index dc74a37..ac7187b 100644
> --- a/datapath/actions.c
> +++ b/datapath/actions.c
> @@ -124,8 +124,8 @@ static int set_eth_addr(struct sk_buff *skb,
>       if (unlikely(err))
>               return err;
>  
> -     memcpy(eth_hdr(skb)->h_source, eth_key->eth_src, ETH_HLEN);
> -     memcpy(eth_hdr(skb)->h_dest, eth_key->eth_dst, ETH_HLEN);
> +     memcpy(eth_hdr(skb)->h_source, eth_key->eth_src, ETH_ALEN);
> +     memcpy(eth_hdr(skb)->h_dest, eth_key->eth_dst, ETH_ALEN);
>  
>       return 0;
>  }

Jari, I think that this must be the problem you're encountering.  Can
you try out that patch?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to