[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160520.104835.678619743450630862.davem@davemloft.net>
Date: Fri, 20 May 2016 10:48:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanhaishuang@...s.chinamobile.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] ip6_gre: Set flowi6_proto as IPPROTO_GRE in xmit
path.
From: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Date: Wed, 18 May 2016 18:05:52 +0800
> In gre6 xmit path, we are sending a GRE packet, so set fl6 proto
> to IPPROTO_GRE properly.
>
> Signed-off-by: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
I think it would be a lot better to initialize the flow protocol field
properly in ip6gre_tnl_link_config() instead of fixing it up every
single transmit.
Powered by blists - more mailing lists