aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/flow.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-10 04:01:57 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-10 22:40:12 -0700
commit3e12939a2a67fbb4cbd962c3b9bc398c73319766 (patch)
treecb3d49ded9da2def0c08e9f5085af870aeadc993 /include/net/flow.h
parentinet: Minimize use of cached route inetpeer. (diff)
downloadlinux-dev-3e12939a2a67fbb4cbd962c3b9bc398c73319766.tar.xz
linux-dev-3e12939a2a67fbb4cbd962c3b9bc398c73319766.zip
inet: Kill FLOWI_FLAG_PRECOW_METRICS.
No longer needed. TCP writes metrics, but now in it's own special cache that does not dirty the route metrics. Therefore there is no longer any reason to pre-cow metrics in this way. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--include/net/flow.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index bd524f598561..ce9cb7656b47 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -20,9 +20,8 @@ struct flowi_common {
__u8 flowic_proto;
__u8 flowic_flags;
#define FLOWI_FLAG_ANYSRC 0x01
-#define FLOWI_FLAG_PRECOW_METRICS 0x02
-#define FLOWI_FLAG_CAN_SLEEP 0x04
-#define FLOWI_FLAG_RT_NOCACHE 0x08
+#define FLOWI_FLAG_CAN_SLEEP 0x02
+#define FLOWI_FLAG_RT_NOCACHE 0x04
__u32 flowic_secid;
};