[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160831.135603.430800022553448126.davem@davemloft.net>
Date: Wed, 31 Aug 2016 13:56:03 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: elicooper@....com
Cc: netdev@...r.kernel.org, tom@...bertland.com
Subject: Re: [PATCH] ipv6: Don't unset flowi6_proto in ipxip6_tnl_xmit()
From: Eli Cooper <elicooper@....com>
Date: Fri, 26 Aug 2016 23:52:29 +0800
> @@ -1174,6 +1174,7 @@ ip4ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev)
> encap_limit = t->parms.encap_limit;
>
> memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6));
> + fl6.flowi6_proto = IPPROTO_IPIP;
Let's just simply have t->fl have the proto setup properly, just like
in GRE.
Assigning it explicitly every packet transmit doesn't make much sense.
Powered by blists - more mailing lists