[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <757BA329-0E68-4D1F-8F7C-A9082B323CA8@cmss.chinamobile.com>
Date: Sat, 21 May 2016 11:46:29 +0800
From: 严海双 <yanhaishuang@...s.chinamobile.com>
To: David Miller <davem@...emloft.net>
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.
> On May 21, 2016, at 1:48 AM, David Miller <davem@...emloft.net> wrote:
>
> 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.
>
>
I agree, I will modify the changes in v2.
Thanks
Haishuang
Powered by blists - more mailing lists