]> git.baikalelectronics.ru Git - kernel.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)
commit7313c1cec7321313a6b30763fdc1e91d2a50c9d0
tree61b94a7b121715fca4d82a40779c6221e55fe132
parentd584d1b1490dccaf61f618350b97a2cc761abe36
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