]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipip: Set inner IP protocol in ipip
authorTom Herbert <therbert@google.com>
Tue, 30 Sep 2014 03:22:31 +0000 (20:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Oct 2014 01:35:51 +0000 (21:35 -0400)
commit077c5a0948cc7b75032288bd37bd6641ef05da76
tree61b94a7b121715fca4d82a40779c6221e55fe132
parent469471cdfc1902861fedafe8c5c1c8dbf5ad6ba6
ipip: Set inner IP protocol in ipip

Call skb_set_inner_ipproto to set inner IP protocol to IPPROTO_IPV4
before tunnel_xmit. This is needed 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/ipip.c