On Tue, Jul 16, 2013 at 8:20 PM, Isaku Yamahata <yamah...@valinux.co.jp> wrote:
> diff --git a/datapath/vport-gre.c b/datapath/vport-gre.c
> index c74f5fc..604fe94 100644
> --- a/datapath/vport-gre.c
> +++ b/datapath/vport-gre.c
> @@ -175,6 +175,7 @@ static int __send(struct vport *vport, struct sk_buff 
> *skb,
>
>         skb->local_df = 1;
>
> +       skb->pkt_type = PACKET_OUTGOING;
>         return iptunnel_xmit(net, rt, skb, saddr,
>                              OVS_CB(skb)->tun_key->ipv4_dst, IPPROTO_GRE,
>                              OVS_CB(skb)->tun_key->ipv4_tos,

This is supposed to be OVS-specific code for GRE encapsulation but I
don't see a reason that it wouldn't also apply to GRE tunnels that are
Linux devices. Is there a reason that this doesn't belong in the
upstream kernel instead?
X-CudaMail-Whitelist-To: dev@openvswitch.org
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to