Thread (5 messages) 5 messages, 2 authors, 2009-07-01

Re: [PATCH] gre: copy ToS/DiffServ bits to outer IP header

From: Patrick McHardy <hidden>
Date: 2009-07-01 10:28:45
Also in: lkml

Andreas Jaggi wrote:
Now using the rtnl_link interface.
Your patches are seriously whitespace-damaged. Please make sure
to send them properly (test by sending to yourself first).
quoted hunk ↗ jump to hunk
diff -urN vanilla-linux-2.6.29.4/include/linux/if_tunnel.h 
dev-gre/include/linux/if_tunnel.h
--- vanilla-linux-2.6.29.4/include/linux/if_tunnel.h    2009-05-19 
01:52:34.000000000 +0200
+++ dev-gre/include/linux/if_tunnel.h    2009-06-30 08:22:52.000000000 
+0200
@@ -34,6 +34,7 @@
    __be32            i_key;
    __be32            o_key;
    struct iphdr        iph;
+    __u8            copy_tos;
You can't change this structure, this will break compatibility.
quoted hunk ↗ jump to hunk
};

/* SIT-mode i_flags */
@@ -63,6 +64,7 @@
    IFLA_GRE_REMOTE,
    IFLA_GRE_TTL,
    IFLA_GRE_TOS,
+    IFLA_GRE_COPY_TOS,
    IFLA_GRE_PMTUDISC,
    __IFLA_GRE_MAX,
You can't add new attributes in the middle, they need to be added at
the end.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help