diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-10 07:01:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-11 01:40:12 -0400 |
commit | 3e12939a2a67fbb4cbd962c3b9bc398c73319766 (patch) | |
tree | cb3d49ded9da2def0c08e9f5085af870aeadc993 /include/net/route.h | |
parent | 1d861aa4b3fb08822055345f480850205ffe6170 (diff) |
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 'include/net/route.h')
-rw-r--r-- | include/net/route.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/route.h b/include/net/route.h index 211e2665139b..635d7a99d199 100644 --- a/include/net/route.h +++ b/include/net/route.h | |||
@@ -278,8 +278,6 @@ static inline void ip_route_connect_init(struct flowi4 *fl4, __be32 dst, __be32 | |||
278 | 278 | ||
279 | if (inet_sk(sk)->transparent) | 279 | if (inet_sk(sk)->transparent) |
280 | flow_flags |= FLOWI_FLAG_ANYSRC; | 280 | flow_flags |= FLOWI_FLAG_ANYSRC; |
281 | if (protocol == IPPROTO_TCP) | ||
282 | flow_flags |= FLOWI_FLAG_PRECOW_METRICS; | ||
283 | if (can_sleep) | 281 | if (can_sleep) |
284 | flow_flags |= FLOWI_FLAG_CAN_SLEEP; | 282 | flow_flags |= FLOWI_FLAG_CAN_SLEEP; |
285 | 283 | ||