Tunnel: fix gre/geneve tos inheriting issues
JIRA: https://issues.redhat.com/browse/RHEL-801
These commits fixed the tos inheriting issues we are missing for gre/geneve. PATCH 04,05 are dependencies for PATCH 06. We already support IPv6 gateway over IPv4 routes with commit d1566268 ("ipv4: Allow ipv6 gateway with ipv4 routes").
Tested with selftest l2_tos_ttl_inherit.sh, all passed.
Signed-off-by: Hangbin Liu haliu@redhat.com
Edited by Hangbin Liu