[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161128.150652.616103157114396212.davem@davemloft.net>
Date: Mon, 28 Nov 2016 15:06:52 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: alexander.duyck@...il.com, sfr@...b.auug.org.au, elicooper@....com,
netdev@...r.kernel.org
Subject: Re: [PATCH net] sit: Set skb->protocol properly in
ipip6_tunnel_xmit()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 28 Nov 2016 10:17:23 -0800
> It appears that Eli changelog was not very precise, because his bug was
> because of XFRM being involved.
>
> xfrm_output() -> xfrm_output_gso() -> skb_gso_segment()
>
> So XFRM calls skb_gso_segment() before ip_output() or
> ip6_finish_output2() had a chance to change skb->protocol
I think if we do it in ip6_local_out and ip_local_out, then none of
these hacks will be necessary at all.
Powered by blists - more mailing lists