From: Pravin B Shelar <pshelar@nicira.com>
Date: Tue, 18 Jun 2013 00:50:07 +0000 (-0700)
Subject: ip_tunnel: Add dont fragment flag.
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a628224a61bbcd2b50b3ec96e661fbbb49b619a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git

ip_tunnel: Add dont fragment flag.

This flag will be used by ovs tunneling.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h
index 32e130b560fa..10bbb4273f7d 100644
--- a/include/net/ip_tunnels.h
+++ b/include/net/ip_tunnels.h
@@ -73,6 +73,7 @@ struct ip_tunnel {
 #define TUNNEL_REC	__cpu_to_be16(0x20)
 #define TUNNEL_VERSION	__cpu_to_be16(0x40)
 #define TUNNEL_NO_KEY	__cpu_to_be16(0x80)
+#define TUNNEL_DONT_FRAGMENT    __cpu_to_be16(0x0100)
 
 struct tnl_ptk_info {
 	__be16 flags;