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 /net/ipv4/inet_connection_sock.c | |
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 'net/ipv4/inet_connection_sock.c')
-rw-r--r-- | net/ipv4/inet_connection_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index 034ddbe42adf..76825be3b643 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c | |||
@@ -375,7 +375,7 @@ struct dst_entry *inet_csk_route_req(struct sock *sk, | |||
375 | const struct inet_request_sock *ireq = inet_rsk(req); | 375 | const struct inet_request_sock *ireq = inet_rsk(req); |
376 | struct ip_options_rcu *opt = inet_rsk(req)->opt; | 376 | struct ip_options_rcu *opt = inet_rsk(req)->opt; |
377 | struct net *net = sock_net(sk); | 377 | struct net *net = sock_net(sk); |
378 | int flags = inet_sk_flowi_flags(sk) & ~FLOWI_FLAG_PRECOW_METRICS; | 378 | int flags = inet_sk_flowi_flags(sk); |
379 | 379 | ||
380 | if (nocache) | 380 | if (nocache) |
381 | flags |= FLOWI_FLAG_RT_NOCACHE; | 381 | flags |= FLOWI_FLAG_RT_NOCACHE; |