summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2017-06-17 19:42:43 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-18 04:54:01 +0200
commit1eb04e7c9e63e0480cc52b84187283de4fe5f982 (patch)
tree176e54be1b7dc5733d87409a190be4ab3344e297
parentnet: remove DST_NOCACHE flag (diff)
downloadlinux-1eb04e7c9e63e0480cc52b84187283de4fe5f982.tar.xz
linux-1eb04e7c9e63e0480cc52b84187283de4fe5f982.zip
net: reorder all the dst flags
As some dst flags are removed, reorder the dst flags to fill in the blanks. Note: these flags are not exposed into user space. So it is safe to reorder. Signed-off-by: Wei Wang <weiwan@google.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/dst.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index 642483ed4edf..d912b44d2dcb 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -51,11 +51,11 @@ struct dst_entry {
#define DST_HOST 0x0001
#define DST_NOXFRM 0x0002
#define DST_NOPOLICY 0x0004
-#define DST_NOCOUNT 0x0020
-#define DST_FAKE_RTABLE 0x0040
-#define DST_XFRM_TUNNEL 0x0080
-#define DST_XFRM_QUEUE 0x0100
-#define DST_METADATA 0x0200
+#define DST_NOCOUNT 0x0008
+#define DST_FAKE_RTABLE 0x0010
+#define DST_XFRM_TUNNEL 0x0020
+#define DST_XFRM_QUEUE 0x0040
+#define DST_METADATA 0x0080
short error;