Re: [PATCH net 1/2] Set skb->protocol properly before calling dst_output()

2016-11-30 Thread David Miller
From: Eli Cooper Date: Tue, 29 Nov 2016 10:35:28 +0800 > When xfrm is applied to TSO/GSO packets, it follows this path: > > xfrm_output() -> xfrm_output_gso() -> skb_gso_segment() > > where skb_gso_segment() relies on skb->protocol to function properly. > > This patch sets skb->protocol pr

[PATCH net 1/2] Set skb->protocol properly before calling dst_output()

2016-11-28 Thread Eli Cooper
When xfrm is applied to TSO/GSO packets, it follows this path: xfrm_output() -> xfrm_output_gso() -> skb_gso_segment() where skb_gso_segment() relies on skb->protocol to function properly. This patch sets skb->protocol properly before dst_output() is called, fixing a bug where GSO packets se