Patchwork [net-next,v2,07/12] ip_tunnel: Add dont fragment flag.

login
register
mail settings
Submitter Pravin B Shelar
Date June 18, 2013, 12:50 a.m.
Message ID <1371516607-17895-1-git-send-email-pshelar@nicira.com>
Download mbox | patch
Permalink /patch/252085/
State Accepted
Delegated to: David Miller
Headers show

Comments

Pravin B Shelar - June 18, 2013, 12:50 a.m.
This flag will be used by ovs tunneling.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
---
 include/net/ip_tunnels.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h
index 048a97f..791a5b0 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;