gre: Setup and TX path for gre/UDP foo-over-udp encapsulation
authorTom Herbert <therbert@google.com>
Wed, 17 Sep 2014 19:26:01 +0000 (12:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 21:15:32 +0000 (17:15 -0400)
commit4565e9919cda747815547e2e5d7b78f15efbffdf
tree20325e752fc92b2e487d650185387ff6ab3cca03
parent473ab820dd4af588785a8e10b9c1547aadb4fd72
gre: Setup and TX path for gre/UDP foo-over-udp encapsulation

Added netlink attrs to configure FOU encapsulation for GRE, netlink
handling of these flags, and properly adjust MTU for encapsulation.
ip_tunnel_encap is called from ip_tunnel_xmit to actually perform FOU
encapsulation.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_tunnel.h
net/ipv4/ip_gre.c