gre: Set inner protocol in v4 and v6 GRE transmit
authorTom Herbert <therbert@google.com>
Tue, 30 Sep 2014 03:22:32 +0000 (20:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Oct 2014 01:35:51 +0000 (21:35 -0400)
commit54bc9bac307861aea5abb747cb58bf0275f2175f
tree0e0deb57718c2ee62d83405a4b9b605181ee65a1
parent077c5a0948cc7b75032288bd37bd6641ef05da76
gre: Set inner protocol in v4 and v6 GRE transmit

Call skb_set_inner_protocol to set inner Ethernet protocol to
protocol being encapsulation by GRE before tunnel_xmit. This is
needed for GSO if UDP encapsulation (fou) is being done.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c
net/ipv6/ip6_gre.c